From 19936378fcdd19092e86a0a93b5c0d24d581b74b Mon Sep 17 00:00:00 2001 From: Christopher Vagnetoft Date: Sun, 12 Feb 2017 16:40:53 +0100 Subject: [PATCH] Bugfixed resolution of app dir --- src/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.php b/src/app.php index f40aa72..e65e32f 100644 --- a/src/app.php +++ b/src/app.php @@ -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);