]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.php
modify include path order (closes #514)
[tt-rss.git] / prefs.php
index 58a078b1faba627c2faf5c0d9578891eb6d74ee0..d83e2ddf3491b9248e139c900e5f85a4afce01eb 100644 (file)
--- a/prefs.php
+++ b/prefs.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());
 
        require_once "functions.php";
        require_once "sessions.php";