From 9de0c46baee71195009ad0082a88db5221f00cf0 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 04 Mar 2009 09:02:29 -0500 Subject: [PATCH] added ispconfig.conf apache include for fedora and opensuse. --- install/dist/lib/opensuse.lib.php | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/install/dist/lib/opensuse.lib.php b/install/dist/lib/opensuse.lib.php index 53a760c..7795df3 100644 --- a/install/dist/lib/opensuse.lib.php +++ b/install/dist/lib/opensuse.lib.php @@ -430,6 +430,15 @@ } 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() -- Gitblit v1.9.1