rogerh
10-11-2004, 05:21 AM
(Afraid vBulletin insisted that I start a new thread.)
In the previous thread on this subject [http://www.phpdig.net/forum/showthread.php?t=839] the instructions are to replace:
if ((isset($relative_script_path)) && ($relative_script_path != ".") && ($relative_script_path != "..")) {
**exit();
}
However I can't find this exact string in config.php. The closest seems to be this:
if ((!isset($relative_script_path)) || (($relative_script_path != ".") &&
($relative_script_path != "..") && ($relative_script_path != ABSOLUTE_SCRIPT_PATH))) {
// echo "\n\nPath not recognized!\n\n";
exit();
}
Maybe PhpDig has been updated since but I'd be grateful for new instructions.
Thanks.
In the previous thread on this subject [http://www.phpdig.net/forum/showthread.php?t=839] the instructions are to replace:
if ((isset($relative_script_path)) && ($relative_script_path != ".") && ($relative_script_path != "..")) {
**exit();
}
However I can't find this exact string in config.php. The closest seems to be this:
if ((!isset($relative_script_path)) || (($relative_script_path != ".") &&
($relative_script_path != "..") && ($relative_script_path != ABSOLUTE_SCRIPT_PATH))) {
// echo "\n\nPath not recognized!\n\n";
exit();
}
Maybe PhpDig has been updated since but I'd be grateful for new instructions.
Thanks.