Index: trunk/admin/category/addcategory_permissions.php =================================================================== diff -u -r123 -r374 --- trunk/admin/category/addcategory_permissions.php (.../addcategory_permissions.php) (revision 123) +++ trunk/admin/category/addcategory_permissions.php (.../addcategory_permissions.php) (revision 374) @@ -14,7 +14,7 @@ ############################################################## if(!strlen($pathtoroot)) { - $path=dirname(realpath($_SERVER['SCRIPT_FILENAME'])); + $path=dirname(realpath(__FILE__)); if(strlen($path)) { /* determine the OS type for path parsing */