Compare commits

...

1 Commits

Author SHA1 Message Date
Chris 19936378fc Bugfixed resolution of app dir 2017-02-12 16:40:53 +01:00
1 changed files with 1 additions and 0 deletions

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);