]> git.wh0rd.org - tt-rss.git/blobdiff - index.php
modify include path order (closes #514)
[tt-rss.git] / index.php
index 09c4dc8c7c83ae3e74e69c599f10a48fc38b257a..445a8fa75e2b5b8da50990b62d3f6f545cb7f907 100644 (file)
--- a/index.php
+++ b/index.php
@@ -5,8 +5,8 @@
                exit;
        }
 
-       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";