From 7bce69f8a5cb7d1efa501407f283dd62c651c83e Mon Sep 17 00:00:00 2001 From: james Date: Thu, 17 Mar 2011 22:12:37 +0000 Subject: [PATCH] Oops, add the common inc check for the /app folder to work --- common.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common.inc.php b/common.inc.php index 16f2d81..25d982d 100644 --- a/common.inc.php +++ b/common.inc.php @@ -47,6 +47,8 @@ else if(substr(getcwd(),-3)=="/db" || substr(getcwd(),-3)=="\\db") $prependdir="../"; else if(substr(getcwd(),-8)=="/scripts" || substr(getcwd(),-8)=="\\scripts") $prependdir="../"; +else if(substr(getcwd(),-4)=="/app" || substr(getcwd(),-4)=="\\app") + $prependdir="../"; else $prependdir="";