logoutUrl fop2 setting

  1. 8 years ago

    Hi FOP2,

    I try setting logoutURL on FOP2 setting, http://172.16.1.229/fop2/admin/pagebs.fop2settings.php

    If i try to write LogoutUrl like "http://72161229/fop2/logout.php" then "Submit Change" it automatic change "http:72161229fop2logoutphp"

    Why it happen?

    We need if user logout from the application fop2, i want redirect to other URL

    Thanks

  2. admin

    22 Dec 2015 Administrator

    You can edit the file /var/www/html/fop2/admin/pagebs.fop2settings.php and comment this line:

    $saveval = preg_replace("/[^a-zA-Z0-9 ,:-]+/","",$saveval);

    By prepending // to it:

    //$saveval = preg_replace("/[^a-zA-Z0-9 ,:-]+/","",$saveval);

    Then you should be able to store the value with periods and slashes.

or Sign Up to reply!