Make it possible to disable API, disable it by default

Conflicts:
	inc/functions.php
This commit is contained in:
ctrlcctrlv authored and Michael Foster committed 2013-08-21 22:34:52 +10:00
1 parent 0cb54b15dc
commit 01e906b1d3
2 files changed
+123 -15

No files matched your search

+9
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