error('This function is disabled in demo mode.'); $app->load('json_handler,getconf'); $security_config = $app->getconf->get_security_config('permissions'); if($security_config['remote_api_allowed'] != 'yes') die('Remote API is disabled in security settings.'); $json_handler = new ISPConfigJSONHandler(); $json_handler->run(); ?>