diff options
Diffstat (limited to 'public/bootstrap.php')
-rw-r--r-- | public/bootstrap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/bootstrap.php b/public/bootstrap.php index 1bc47923..2b8e6aba 100644 --- a/public/bootstrap.php +++ b/public/bootstrap.php @@ -1,10 +1,10 @@ <?php // path and include settings -$rootpath = str_replace(DIRECTORY_SEPARATOR . 'bootstrap.php', '', __FILE__); +$rootpath = __DIR__ . DIRECTORY_SEPARATOR . '..'; define('ROOTPATH', $rootpath); $includePath = ini_get('include_path'); -$includePath .= PATH_SEPARATOR . ROOTPATH . DIRECTORY_SEPARATOR . '..'; +$includePath .= PATH_SEPARATOR . ROOTPATH; ini_set('include_path', $includePath); ?> |