From b4aaf3eedda4001ad5e01ac2c19494020148a77c Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 08 Sep 2011 10:57:26 -0400
Subject: [PATCH] Fixed: FS#1579 - Add Exim config files for centos to config file folder.
---
install/install.php | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/install/install.php b/install/install.php
index 9bd13f1..e2975c9 100644
--- a/install/install.php
+++ b/install/install.php
@@ -229,25 +229,24 @@
$inst->configure_apps_vhost();
//* Configure Firewall
- //swriteln('Configuring Firewall');
- //$inst->configure_firewall();
//** Configure Firewall
- if($conf['bastille']['installed'] == true) {
+ if($conf['ufw']['installed'] == true) {
+ //* Configure UFW Firewall
+ $conf['services']['firewall'] = true;
+ swriteln('Configuring UFW Firewall');
+ $inst->configure_ufw_firewall();
+ } else {
//* Configure Bastille Firewall
$conf['services']['firewall'] = true;
swriteln('Configuring Bastille Firewall');
$inst->configure_firewall();
- } elseif($conf['ufw']['installed'] == true) {
- //* Configure Ubuntu Firewall
- $conf['services']['firewall'] = true;
- swriteln('Configuring Ubuntu Firewall');
- $inst->configure_ufw_firewall();
}
//* Configure Fail2ban
if($conf['fail2ban']['installed'] == true) {
swriteln('Configuring Fail2ban');
$inst->configure_fail2ban();
+ }
if($conf['squid']['installed'] == true) {
$conf['services']['proxy'] = true;
@@ -265,6 +264,10 @@
//** Customize the port ISPConfig runs on
$conf['apache']['vhost_port'] = $inst->free_query('ISPConfig Port', '8080');
+ if(strtolower($inst->simple_query('Do you want a secure (SSL) connection to the ISPConfig web interface',array('y','n'),'y')) == 'y') {
+ $inst->make_ispconfig_ssl_cert();
+ }
+
$inst->install_ispconfig();
//* Configure DBServer
--
Gitblit v1.9.1