View Single Post
Old 10-11-2004, 05:21 AM   #1
rogerh
Green Mole
 
Join Date: Oct 2004
Posts: 1
Adding search box to every page (cont'd)

(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:

Quote:
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:

Quote:
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.
rogerh is offline   Reply With Quote