]> git.wh0rd.org - tt-rss.git/blobdiff - public.php
implement tiny-OOP routing
[tt-rss.git] / public.php
index 5fd9beabdfb6c5bb425f68453d6a44bfc9063b9d..3b0d064b6c093ecc5c6311cc7b42ef65cd00b786 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+       set_include_path(get_include_path() . PATH_SEPARATOR . "include");
+
        /* remove ill effects of magic quotes */
 
        if (get_magic_quotes_gpc()) {
@@ -18,7 +20,6 @@
 
        require_once "functions.php";
        if ($op != "share") require_once "sessions.php";
-       require_once "modules/backend-rpc.php";
        require_once "sanity_check.php";
        require_once "config.php";
        require_once "db.php";