From 01e906b1d37858168d4e8b2b7faa114fd4b9f63e Mon Sep 17 00:00:00 2001 From: ctrlcctrlv Date: Tue, 20 Aug 2013 16:53:05 +0000 Subject: Make it possible to disable API, disable it by default Conflicts: inc/functions.php --- inc/config.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index ae45a746..886d7183 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1285,6 +1285,15 @@ // return 'Sorry, you cannot post that!'; // }); +/* + * ============= + * API settings + * ============= + */ + + // Whether or not to use the API, disabled by default. + $config['api']['enabled'] = false; + /* * ==================== * Other/uncategorized -- cgit v1.3