summaryrefslogtreecommitdiff
path: root/www-ssl/bootstrap.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-01 14:30:29 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-01 14:30:29 +0200
commit6ebee2c46ba11ce42e85b830189346b13514d497 (patch)
treee76538b0f667f29f859585af7998288cfcbd26e4 /www-ssl/bootstrap.php
parent550467697f8b3ae0b5d15d1d3a2bc3f83b003ff8 (diff)
bootstrapping
Diffstat (limited to 'www-ssl/bootstrap.php')
-rw-r--r--www-ssl/bootstrap.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/www-ssl/bootstrap.php b/www-ssl/bootstrap.php
new file mode 100644
index 00000000..3189c89a
--- /dev/null
+++ b/www-ssl/bootstrap.php
@@ -0,0 +1,12 @@
+<?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