normalize grav path

This commit is contained in:
Gert 2015-04-08 19:20:11 +02:00 committed by Andy Miller
parent 25ff1f230f
commit 688d6fe17a

View File

@ -7,7 +7,7 @@ define('DS', '/');
// Directories and Paths
if (!defined('GRAV_ROOT')) {
define('GRAV_ROOT', getcwd());
define('GRAV_ROOT', str_replace(DIRECTORY_SEPARATOR, DS, getcwd()));
}
define('ROOT_DIR', GRAV_ROOT . '/');
define('USER_PATH', 'user/');