From c220da99596c4fbca3a4413dbf880dbfc8fd0121 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Fri, 24 Jan 2014 06:20:12 -0500
Subject: [PATCH] changed sql-query and make ure that the backup-sub-dir exists
---
interface/web/remote/index.php | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/interface/web/remote/index.php b/interface/web/remote/index.php
index 1fa5e60..369cb2a 100644
--- a/interface/web/remote/index.php
+++ b/interface/web/remote/index.php
@@ -1,17 +1,15 @@
<?php
-require_once('../../lib/config.inc.php');
+require_once '../../lib/config.inc.php';
$conf['start_session'] = false;
-require_once('../../lib/app.inc.php');
+require_once '../../lib/app.inc.php';
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
-$app->load('remoting');
+$app->load('soap_handler');
$server = new SoapServer(null, array('uri' => $_SERVER['REQUEST_URI']));
-$server->setClass('remoting');
+$server->setObject(new ISPConfigSoapHandler());
$server->handle();
-
-
-?>
\ No newline at end of file
+?>
--
Gitblit v1.9.1