Till Brehm
2014-09-10 80262299f00d3c5a3bc0e5ef73f3d6d24792d2c1
interface/web/remote/index.php
@@ -6,7 +6,11 @@
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
$app->load('remoting');
$app->load('remoting,getconf');
$security_config = $app->getconf->get_security_config('permissions');
if($security_config['remote_api_allowed'] != 'yes') die('Remote API is disabled in security settings.');
$server = new SoapServer(null, array('uri' => $_SERVER['REQUEST_URI']));
$server->setClass('remoting');