PDA

View Full Version : Relative path problem


tomwp
02-06-2004, 05:56 AM
Hi I installed the script and indexed my site with no problems at all. This was using the default search script "search.php" however all this was in a sub directory of my main site. I want to move seach.php into the main directory. Currently it is in "phpdig" folder. So i moved the script and changed the relative_script_path parameter to "./phpdig". Now when i goto search.php i just get a blank screen, no errors, no nothing. Help, am i being stupid?

Charter
02-06-2004, 07:33 AM
Hi. In the config.php file modify the following to include the new path:

if ((isset($relative_script_path)) && ($relative_script_path != ".") && ($relative_script_path != "..")) {
exit();
}