tbrehm
2010-07-28 4ae2a0f7071a793cb0ef54ecad888719ec788d26
install/dist/lib/gentoo.lib.php
@@ -699,6 +699,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);
      }
      $vhost_path = $conf['apache']['vhost_conf_dir'].'/ispconfig.vhost';
      $this->write_config_file($vhost_path, $content);