From 0d300581ff97e5686fae325f1200092277ce7af4 Mon Sep 17 00:00:00 2001 From: Frank Spijkerman Date: Wed, 22 Jan 2014 18:40:06 +0100 Subject: [PATCH] Use a full path instead of CWD set by PHP --- public/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index f5f53b89..b3117bb3 100644 --- a/public/index.php +++ b/public/index.php @@ -22,7 +22,8 @@ limitations under the License. $dStartTime = microtime(true); // This should be okay -define("BASEPATH", "./"); +// No but Its now, - Aim +define("BASEPATH", dirname(__FILE__) . "/"); // Our security check define("SECURITY", 1);