From e61ed86fe51c5a0300d867a33f50711dbf6b4fe0 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 11 Jan 2012 11:59:56 -0500
Subject: [PATCH] - Force user deletion for jailkit users - Fixed bug in updater that made ispconfig invoices directory unreadable. - Removed passing of variables by reference in ispconfig monitor. - Changed monitor of opensuse updates so that the command does not install them automatically.

---
 install/lib/installer_base.lib.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index 4a6e8a6..92c6ad0 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -1750,7 +1750,7 @@
 			chgrp($install_dir.'/server/lib/mysql_clientdb.conf', 'root');
 		}
 		
-		if(is_file($install_dir.'/interface/invoices')) {
+		if(is_dir($install_dir.'/interface/invoices')) {
 			chmod($install_dir.'/interface/invoices', 0770);
 			chown($install_dir.'/interface/invoices', 'ispconfig');
 			chgrp($install_dir.'/interface/invoices', 'ispconfig');

--
Gitblit v1.9.1