forked from leftypol/leftypol
Make it possible to disable API, disable it by default
This commit is contained in:
parent
db5ce2cb8f
commit
a29a9324ea
2 changed files with 31 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue