From 9fd65c1bd64e63e31035356fa997c45860571017 Mon Sep 17 00:00:00 2001 From: fuzzykitten Date: Sun, 16 Feb 2025 01:53:03 -0500 Subject: [PATCH] corrected landing page for mobile --- srv/mob/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 = "