From a075959f73f23d4bb93382d6b941baf487fff9fb Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 06 Dec 2012 10:27:46 -0500
Subject: [PATCH] Fixed: FS#2570 - Changind site domain rewrites custom open_basedir settings - Added check that aps plugin installs package only once on a mirrored system - Added "IPCCommTimeout  7200" in ispconfig apache vhost.

---
 server/plugins-available/aps_plugin.inc.php |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/server/plugins-available/aps_plugin.inc.php b/server/plugins-available/aps_plugin.inc.php
index ddeca3d..dbbbfb9 100644
--- a/server/plugins-available/aps_plugin.inc.php
+++ b/server/plugins-available/aps_plugin.inc.php
@@ -69,6 +69,10 @@
     {
         global $app, $conf;
         
+		//* dont run the installer on a mirror server to prevent
+		//  that the pplication gets installed twice.
+		if($conf['mirror_server_id'] > 0) return true;
+		
 		$app->log("Starting APS install",LOGLEVEL_DEBUG);
         if(!isset($data['new']['id'])) return false;
         $instanceid = $data['new']['id'];

--
Gitblit v1.9.1