tbrehm
2010-07-28 4ae2a0f7071a793cb0ef54ecad888719ec788d26
install/dist/lib/opensuse.lib.php
@@ -633,8 +633,7 @@
        unset($iptables_location);
   }
   public function install_ispconfig()
    {
      global $conf;
@@ -838,6 +837,12 @@
         $content = str_replace('{vhost_port_listen}', '', $content);
      }
      
      if(is_file('/usr/local/ispconfig/interface/ssl/ispserver.crt') && is_file('/usr/local/ispconfig/interface/ssl/ispserver.key')) {
         $content = str_replace('{ssl_comment}', '', $content);
      } else {
         $content = str_replace('{ssl_comment}', '#', $content);
      }
      $content = str_replace('/var/www/', '/srv/www/', $content);
      
      wf("$vhost_conf_dir/ispconfig.vhost", $content);