Use a full path instead of CWD set by PHP

This commit is contained in:
Frank Spijkerman 2014-01-22 18:40:06 +01:00
parent 6bb9ccb8e7
commit 0d300581ff

View File

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