mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
normalize grav path
This commit is contained in:
parent
25ff1f230f
commit
688d6fe17a
|
|
@ -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/');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user