]> git.wh0rd.org - tt-rss.git/blobdiff - api/index.php
api: load user plugins properly
[tt-rss.git] / api / index.php
index facdf82c54db587e9cd07f6cb826b6daec494555..b02a5d6794d3e4294bf72321ecf1e4ab2b6de22e 100644 (file)
                @session_start();
        }
 
+       startup_gettext();
+
        if (!init_plugins()) return;
 
+       if ($_SESSION["uid"]) {
+               load_user_plugins( $_SESSION["uid"]);
+       }
+
        $method = strtolower($_REQUEST["op"]);
 
        $handler = new API($_REQUEST);