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