From 438d9f8ec7ab43610280bac271c3211163606bea Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Sun, 19 Aug 2007 23:24:35 -0400
Subject: [PATCH] Tidy up of postfix installation

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

diff --git a/install/install.php b/install/install.php
index 95e7f5b..134f62d 100644
--- a/install/install.php
+++ b/install/install.php
@@ -52,18 +52,19 @@
 
 //** Include the library with the basic installer functions
 require_once('lib/install.lib.php');
+require_once('options.conf.php');
+
 
 //** Include the base class of the installer class
 require_once('lib/installer_base.lib.php');
-
-include_once('options.conf.php');
-$distname = get_distname();
 
 //** Include the distribution specific installer class library and configuration
 include_once('dist/lib/'.$conf['distname'].'.lib.php');
 include_once('dist/conf/'.$conf['distname'].'.conf.php');
 
-//TODO: this is not there ????
+
+$distname = get_distname();
+//** Copt the $dist created in dist/conf/foo to global var
 $conf['dist'] = $dist;
 
 define('ISPC_LOG_FILE', '/var/log/ispconfig_install.log');

--
Gitblit v1.9.1