Corrected bug in install

Former-commit-id: 6aae517460
This commit is contained in:
Jérôme Schneider 2013-07-07 19:58:46 +02:00
parent 565d64fe5f
commit f37b2d2ea9

View file

@ -31,7 +31,7 @@ define("BAIKAL_CONTEXT", TRUE);
define("BAIKAL_CONTEXT_ADMIN", TRUE);
define("PROJECT_CONTEXT_BASEURI", "/admin/");
if(file_exists(getcwd(). "/Core")) {
if(file_exists(dirname(getcwd()). "/Core")) {
# Flat FTP mode
define("PROJECT_PATH_ROOT", dirname(getcwd()) . "/"); #../
} else {