Make it possible to disable API, disable it by default
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user