Make it possible to disable API, disable it by default

Conflicts:
	inc/functions.php
This commit is contained in:
ctrlcctrlv
2013-08-20 16:53:05 +00:00
committed by Michael Foster
parent 0cb54b15dc
commit 01e906b1d3
2 changed files with 123 additions and 15 deletions

View File

@@ -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