forked from leftypol/leftypol
Make it possible to disable API, disable it by default
Conflicts: inc/functions.php
This commit is contained in:
parent
0cb54b15dc
commit
01e906b1d3
2 changed files with 123 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue