summaryrefslogtreecommitdiff
path: root/public/bootstrap.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-03-09 13:12:46 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-03-09 13:12:46 +0100
commit98f355cd86828ccb8a24f24ab06c29d53bff530c (patch)
tree7fa647c06f260ffcb8a7c8189fb4ed8d02c88b18 /public/bootstrap.php
parent893bb5a9cf365c831e75fafc83dffdbced09a466 (diff)
added angeltype description
Diffstat (limited to 'public/bootstrap.php')
-rw-r--r--public/bootstrap.php4
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);
?>