From a32f329d71f43df93faadf8bdb9d67ed5eebb1a3 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 26 Oct 2010 10:05:12 -0400
Subject: [PATCH] Use yes / no for ssl query in updater instead of y / n

---
 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 44bd4a7..c2fc48f 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -1032,7 +1032,7 @@
 		}
 		
 		// Check the awsatst script
-		if(!is_dir('/usr/share/awstats/tools')) mkdir('/usr/share/awstats/tools');
+		if(!is_dir('/usr/share/awstats/tools')) exec('mkdir -p /usr/share/awstats/tools');
 		if(!file_exists('/usr/share/awstats/tools/awstats_buildstaticpages.pl') && file_exists('/usr/share/doc/awstats/examples/awstats_buildstaticpages.pl')) symlink('/usr/share/doc/awstats/examples/awstats_buildstaticpages.pl','/usr/share/awstats/tools/awstats_buildstaticpages.pl');
 
 		//* add a sshusers group

--
Gitblit v1.9.1