From 313e336525fa923002095ef1858b1f29df8da7af Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 13 Aug 2007 12:01:27 -0400
Subject: [PATCH] Added http error and standard index pages, enhanced apache module, added daily cron script

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

diff --git a/install/install.php b/install/install.php
index 7c6956b..8022b0d 100644
--- a/install/install.php
+++ b/install/install.php
@@ -133,6 +133,10 @@
 	// Configure MyDNS
 	swriteln('Configuring MyDNS');
 	$inst->configure_mydns();
+	
+	// Configure Apache
+	swriteln('Configuring Apache');
+	$inst->configure_apache();
 
 	// Configure ISPConfig
 	swriteln('Installing ISPConfig');
@@ -219,6 +223,12 @@
 		system("/etc/init.d/mydns restart");
 	}
 	
+	if(strtolower($inst->simple_query('Configure Apache Server',array('y','n'),'y')) == 'y') {
+		// Configure Apache
+		swriteln('Configuring Apache');
+		$inst->configure_apache();
+	}
+	
 	if(strtolower($inst->simple_query('Install ISPConfig',array('y','n'),'y')) == 'y') {
 		// Configure ISPConfig
 		swriteln('Installing ISPConfig');

--
Gitblit v1.9.1