Index: trunk/admin/backup/restore1.php =================================================================== diff -u -r218 -r374 --- trunk/admin/backup/restore1.php (.../restore1.php) (revision 218) +++ trunk/admin/backup/restore1.php (.../restore1.php) (revision 374) @@ -3,7 +3,7 @@ if(!strlen($pathtoroot)) { - $path=dirname(realpath($_SERVER['SCRIPT_FILENAME'])); + $path=dirname(realpath(__FILE__)); if(strlen($path)) { /* determine the OS type for path parsing */