From 95da4e9eaba792656e2045834726ab2cf01ccf54 Mon Sep 17 00:00:00 2001 From: Andreas Grundler Date: Mon, 21 Oct 2013 07:14:46 +0200 Subject: [PATCH] Bufix for "chown -R [User]:[User] /" --- lib/classes/aps/class.ApsInstaller.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/classes/aps/class.ApsInstaller.php b/lib/classes/aps/class.ApsInstaller.php index c237ed82..41642d8b 100644 --- a/lib/classes/aps/class.ApsInstaller.php +++ b/lib/classes/aps/class.ApsInstaller.php @@ -335,7 +335,13 @@ class ApsInstaller extends ApsParser $mapping_path = $Xml->mapping['path']; $mapping_url = $Xml->mapping['url']; } - + + if($this->DomainPath == '') + { + $this->db->query('UPDATE `' . TABLE_APS_INSTANCES . '` SET `Status` = ' . INSTANCE_ERROR . ' WHERE `ID` = ' . $this->db->escape($Row['InstanceID'])); + return false; + } + if($Task == TASK_INSTALL) { //FIXME truncate customer directory