Commit 9de0c46b authored by tbrehm's avatar tbrehm
Browse files

added ispconfig.conf apache include for fedora and opensuse.

parent 9234cc83
......@@ -422,6 +422,15 @@ class installer_dist extends installer_base {
}
unset($content);
//* Copy the ISPConfig configuration include
$vhost_conf_dir = $conf['apache']['vhost_conf_dir'];
$vhost_conf_enabled_dir = $conf['apache']['vhost_conf_enabled_dir'];
copy('tpl/apache_ispconfig.conf.master',$vhost_conf_dir.'/ispconfig.conf');
if(!@is_link($vhost_conf_enabled_dir."/000-ispconfig.conf")) {
exec("ln -s ".$vhost_conf_dir."/ispconfig.conf ".$vhost_conf_enabled_dir."/000-ispconfig.conf");
}
}
public function configure_firewall()
......
......@@ -430,6 +430,15 @@ class installer_dist extends installer_base {
}
unset($content);
//* Copy the ISPConfig configuration include
$vhost_conf_dir = $conf['apache']['vhost_conf_dir'];
$vhost_conf_enabled_dir = $conf['apache']['vhost_conf_enabled_dir'];
copy('tpl/apache_ispconfig.conf.master',$vhost_conf_dir.'/ispconfig.conf');
if(!@is_link($vhost_conf_enabled_dir."/000-ispconfig.conf")) {
exec("ln -s ".$vhost_conf_dir."/ispconfig.conf ".$vhost_conf_enabled_dir."/000-ispconfig.conf");
}
}
public function configure_firewall()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment