Skip to content
Snippets Groups Projects
Commit e4729a05 authored by Martijn Ras's avatar Martijn Ras
Browse files

Fixed typo and added check

parent 19c79f28
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ $conf['disableactions'] = ''; //comma separated list of actions to di
$conf['auth_security_timeout'] = 900; //time (seconds) auth data is considered valid, set to 0 to recheck on every page view
$conf['securecookie'] = 1; //never send HTTPS cookies via HTTP
$conf['remote'] = 0; //Enable/disable remote interfaces
$conf['remoteuser'] = '!!not set !!'; //user/groups that have access to remote interface (comma separated)
$conf['remoteuser'] = '!!not set!!'; //user/groups that have access to remote interface (comma separated)
/* Antispam Features */
$conf['usewordblock']= 1; //block spam based on words? 0|1
......
......@@ -175,6 +175,9 @@ class RemoteAPI {
if (!$conf['remote']) {
return false;
}
if(trim($conf['remoteuser']) == '!!not set!!') {
return false;
}
if(!$conf['useacl']) {
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment