Oh my… of course it doesn’t work. with
$_SERVER['SCRIPT_FILENAME']
the result is always false, because it is always “path/index.php”. With
$_SERVER['REQUEST_URI']
it works. Sorry…
Oh my… of course it doesn’t work. with
$_SERVER['SCRIPT_FILENAME']
the result is always false, because it is always “path/index.php”. With
$_SERVER['REQUEST_URI']
it works. Sorry…