Bugfixed resolution of app dir
This commit is contained in:
parent
fe5ac914d9
commit
19936378fc
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user