From a29a9324eaec81938869ceb66cb99b2deebb84b1 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 --- 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 ae3ce0c0..f7226614 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1342,6 +1342,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