Make it possible to disable API, disable it by default

This commit is contained in:
ctrlcctrlv 2013-08-20 16:53:05 +00:00
parent db5ce2cb8f
commit a29a9324ea
2 changed files with 31 additions and 14 deletions

View file

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