correczing functionname makeCorrectPath to makeCorrectDir, fixes #252

This commit is contained in:
Florian Aders (EleRas)
2010-05-29 18:53:16 +00:00
parent b01d37d085
commit b0fb3a31f7

View File

@@ -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');