From 51a9fb66c6413e0693b58a66c4de3fb802d6215a Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 26 Oct 2010 08:43:29 -0400 Subject: [PATCH] Fixed: FS#1358 - AWStats tools no in tools directory --- 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