diff --git a/srv/mob/index.php b/srv/mob/index.php index 95c85a1..a0eb505 100644 --- a/srv/mob/index.php +++ b/srv/mob/index.php @@ -504,16 +504,16 @@ function check_portal($db, $settings, $ip) $random_string = ''; for ($i = 0; $i < 20; $i++) { - // token length is set to 250 characters + // token length is set to 20 characters $index = random_int(0, 51); // we have 62 to choose, so 0 to 61 $random_string .= $characters[$index]; } - $request = '/' . $random_string; + $request = '/mob/' . $random_string; // $request = $_SERVER['REQUEST_URI'] . '/' . $random_string; // $request = $_SERVER['REQUEST_URI']; -// header( 'HTTP/1.1 202 Accepted' ); -// header( 'Cache-Control: no-store', FALSE ); + header( 'HTTP/1.1 202 Accepted' ); + header( 'Cache-Control: no-store', FALSE ); $html_string = "