summaryrefslogtreecommitdiff
path: root/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-09 13:41:22 +0400
committerAndrew Dolgov <[email protected]>2012-12-09 13:41:22 +0400
commit88e8fb3a7132d1321ab65b66a19a67df890c402d (patch)
treeb597639dfe7797a34efe0e348ef6e37a8a11b467 /public.php
parent51cc387347668e98b1b8e6c6053581a2affc5fa6 (diff)
modify include path order (closes #514)
Diffstat (limited to 'public.php')
-rw-r--r--public.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/public.php b/public.php
index bf13fdd58..59e0ef2e3 100644
--- a/public.php
+++ b/public.php
@@ -1,6 +1,6 @@
<?php
- set_include_path(get_include_path() . PATH_SEPARATOR .
- dirname(__FILE__) . "/include");
+ set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
+ get_include_path());
/* remove ill effects of magic quotes */