properly handle running scripts from the /scripts directory

This commit is contained in:
james 2006-01-03 02:03:30 +00:00
parent 577789b117
commit 33cb624154

@ -29,6 +29,8 @@ else if(substr(getcwd(),-7)=="/config")
$prependdir="../";
else if(substr(getcwd(),-3)=="/db")
$prependdir="../";
else if(substr(getcwd(),-8)=="/scripts")
$prependdir="../";
else
$prependdir="";