From: Andrew Dolgov Date: Wed, 16 Dec 2009 12:09:11 +0000 (+0300) Subject: api: remove global config parameter lock X-Git-Tag: 1.4.0~183^2~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f11f79d792a70196c44dadeb4247ae5b4164c491;p=tt-rss.git api: remove global config parameter lock --- diff --git a/api/index.php b/api/index.php index fd22f4b8..193fcb3e 100644 --- a/api/index.php +++ b/api/index.php @@ -13,11 +13,6 @@ require_once "../db-prefs.php"; require_once "../functions.php"; - if (!defined('_JSON_API_ENABLED')) { - print json_encode(array("error" => "API_DISABLED")); - return; - } - $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); $session_expire = SESSION_EXPIRE_TIME; //seconds