summaryrefslogtreecommitdiff
path: root/public/bootstrap.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-13 18:05:51 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-13 18:05:51 +0200
commit04973d1fa148381978b1251d10118e6bab86f435 (patch)
tree39f5a304342054e9da8c0452866b4f6eb69f87af /public/bootstrap.php
parent89fd736f36dc89becacc30dc250d7a3e93e9569f (diff)
moved public files to public, old and yet untouched files to directories ending with _old
Diffstat (limited to 'public/bootstrap.php')
-rw-r--r--public/bootstrap.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/public/bootstrap.php b/public/bootstrap.php
new file mode 100644
index 00000000..40a32578
--- /dev/null
+++ b/public/bootstrap.php
@@ -0,0 +1,10 @@
+<?php
+// path and include settings
+$rootpath = str_replace(DIRECTORY_SEPARATOR . 'bootstrap.php', '', __FILE__);
+define('ROOTPATH', $rootpath);
+
+$includePath = ini_get('include_path');
+$includePath .= PATH_SEPARATOR . ROOTPATH . DIRECTORY_SEPARATOR . '..';
+
+ini_set('include_path', $includePath);
+?> \ No newline at end of file