tbrehm
2009-03-04 9de0c46baee71195009ad0082a88db5221f00cf0
added ispconfig.conf apache include for fedora and opensuse.
2 files modified
18 ■■■■■ changed files
install/dist/lib/fedora.lib.php 9 ●●●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php 9 ●●●●● patch | view | raw | blame | history
install/dist/lib/fedora.lib.php
@@ -422,6 +422,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()
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()