summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-07-18 20:09:54 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-07-18 20:09:54 +0200
commit0156cd6ab92216292213e13b901b081c5cee29d1 (patch)
treeedb9d7118d429ff46039925cfd293642e7cb401f
parent1d4a2a05e4490482346bc24132dfc9ef09f47fcc (diff)
index.php: Include correct file
If $PWD is not the root of the working copy this would try to include $PWD/public_html/index.php. Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index c0e02d611..43c87ba95 100644
--- a/index.php
+++ b/index.php
@@ -7,4 +7,4 @@
*
*/
-include 'public_html/index.php';
+include dirname(__FILE__).'/public_html/index.php';