diff options
Diffstat (limited to 'api/index.php')
-rw-r--r-- | api/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/index.php b/api/index.php index 53b78b010..d28ab763a 100644 --- a/api/index.php +++ b/api/index.php @@ -13,6 +13,7 @@ define('TTRSS_SESSION_NAME', 'ttrss_api_sid'); define('NO_SESSION_AUTOSTART', true); + require_once "autoload.php"; require_once "db.php"; require_once "db-prefs.php"; require_once "functions.php"; @@ -54,7 +55,7 @@ @session_start(); } - if (!init_connection($link)) return; + if (!init_plugins($link)) return; $method = strtolower($_REQUEST["op"]); |