From b0fb3a31f778d9bce149e10f1d1c30e28e2cdba4 Mon Sep 17 00:00:00 2001 From: "Florian Aders (EleRas)" Date: Sat, 29 May 2010 18:53:16 +0000 Subject: [PATCH] correczing functionname makeCorrectPath to makeCorrectDir, fixes #252 --- scripts/jobs/cron_tasks.inc.http.10.apache.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/jobs/cron_tasks.inc.http.10.apache.php b/scripts/jobs/cron_tasks.inc.http.10.apache.php index 7b1ee30b..df8c8fd3 100644 --- a/scripts/jobs/cron_tasks.inc.http.10.apache.php +++ b/scripts/jobs/cron_tasks.inc.http.10.apache.php @@ -70,9 +70,9 @@ class apache $vhosts_folder = ''; if(is_dir($this->settings['system']['apacheconf_vhost'])) { - $vhosts_folder = makeCorrectPath($this->settings['system']['apacheconf_vhost']); + $vhosts_folder = makeCorrectDir($this->settings['system']['apacheconf_vhost']); } else { - $vhosts_folder = makeCorrectPath(dirname($this->settings['system']['apacheconf_vhost'])); + $vhosts_folder = makeCorrectDir(dirname($this->settings['system']['apacheconf_vhost'])); } $vhosts_filename = makeCorrectFile($vhosts_folder . '/05_froxlor_dirfix_nofcgid.conf'); @@ -114,9 +114,9 @@ class apache $vhosts_folder = ''; if(is_dir($this->settings['system']['apacheconf_vhost'])) { - $vhosts_folder = makeCorrectPath($this->settings['system']['apacheconf_vhost']); + $vhosts_folder = makeCorrectDir($this->settings['system']['apacheconf_vhost']); } else { - $vhosts_folder = makeCorrectPath(dirname($this->settings['system']['apacheconf_vhost'])); + $vhosts_folder = makeCorrectDir(dirname($this->settings['system']['apacheconf_vhost'])); } $vhosts_filename = makeCorrectFile($vhosts_folder . '/05_froxlor_default_errorhandler.conf');