Compare commits

...

1 Commits

Author SHA1 Message Date
19936378fc Bugfixed resolution of app dir 2017-02-12 16:40:53 +01:00

View File

@ -17,6 +17,7 @@ if (!($script = dirname(@readlink($_SERVER['SCRIPT_NAME']))))
$script = dirname($_SERVER['SCRIPT_NAME']);
if (basename($script)=='bin')
$script = dirname($script);
$script = realpath($script);
define("APP_ROOT", $script);