Index: trunk/admin/category/category_maint.php =================================================================== diff -u -r540 -r563 --- trunk/admin/category/category_maint.php (.../category_maint.php) (revision 540) +++ trunk/admin/category/category_maint.php (.../category_maint.php) (revision 563) @@ -16,7 +16,7 @@ if(!strlen($pathtoroot)) { - $path = dirname(realpath($_SERVER['SCRIPT_FILENAME'])); + $path = dirname(realpath(__FILE__)); if( strlen($path) ) { // determine the OS type for path parsing