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