Index: trunk/globals.php
===================================================================
diff -u -r549 -r563
--- trunk/globals.php (.../globals.php) (revision 549)
+++ trunk/globals.php (.../globals.php) (revision 563)
@@ -113,7 +113,7 @@
global $rootURL;
echo 'In-Portal is probably not installed, or configuration file is missing.
';
echo 'Please use the installation script to fix the problem.
';
- if ( !preg_match('/admin/', $_SERVER['SCRIPT_FILENAME']) ) $ins = 'admin/';
+ if ( !preg_match('/admin/', __FILE__) ) $ins = 'admin/';
echo 'Go to installation script
';
flush();