forked from Cavemanon/cavepaintings
SCRIPT_NAME instead of PHP_SELF to find self for niceurl test
This commit is contained in:
@@ -332,7 +332,7 @@ class Setup extends Extension
|
||||
$host .= ":" . $_SERVER["SERVER_PORT"];
|
||||
}
|
||||
}
|
||||
$full = "//" . $host . $_SERVER["PHP_SELF"];
|
||||
$full = "//" . $host . $_SERVER["SCRIPT_NAME"];
|
||||
$test_url = str_replace("/index.php", "/nicetest", $full);
|
||||
|
||||
$nicescript = "<script type='text/javascript'>
|
||||
|
Reference in New Issue
Block a user