From 4ae2a0f7071a793cb0ef54ecad888719ec788d26 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 28 Jul 2010 08:18:26 -0400
Subject: [PATCH] Implemented: FS#931 - Optional SSL for Web Interface

---
 install/update.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/install/update.php b/install/update.php
index a0b9514..8246113 100644
--- a/install/update.php
+++ b/install/update.php
@@ -308,6 +308,11 @@
 $ispconfig_port_number = get_ispconfig_port_number();
 $conf['apache']['vhost_port'] = $inst->free_query('ISPConfig Port', $ispconfig_port_number);
 
+// $ispconfig_ssl_default = (is_ispconfig_ssl_enabled() == true)?'y':'n';
+if(strtolower($inst->simple_query('Create new ISPConfig SSL certificate',array('y','n'),'n')) == 'y') {
+	$inst->make_ispconfig_ssl_cert();
+}
+
 $inst->install_ispconfig();
 
 //** Configure Crontab

--
Gitblit v1.9.1