From be38365f1c892c99914c408e3a1d8c396a31663e Mon Sep 17 00:00:00 2001
From: Dominik <info@profi-webdesign.com>
Date: Tue, 29 Dec 2015 18:56:37 -0500
Subject: [PATCH] Posibility to change main-domain of aps-instance over remote (in interface maindomain is always the websites domain but over remote it's now possible to set an alias oder subdomain, that will be used in instance-settings. Important if e.g. wordpress-installation should run unter an aliasdomain instead of the websites domain)

---
 interface/lib/classes/soap_handler.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/lib/classes/soap_handler.inc.php b/interface/lib/classes/soap_handler.inc.php
index c2bf643..704e21b 100644
--- a/interface/lib/classes/soap_handler.inc.php
+++ b/interface/lib/classes/soap_handler.inc.php
@@ -49,7 +49,7 @@
 
 			$name = substr($f, 0, strpos($f, '.'));
 
-			include $dir . '/' . $f;
+			include_once $dir . '/' . $f;
 			$class_name = 'remoting_' . $name;
 			if(class_exists($class_name, false)) {
 				$this->classes[$class_name] = new $class_name();

--
Gitblit v1.9.1