From 9ac95d21faf99ad14918d0ad36f9bcb3dfa27513 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 29 Jun 2008 07:43:17 -0400
Subject: [PATCH] 

---
 install/lib/installer_base.lib.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index 3c718a9..d94b94c 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -34,7 +34,7 @@
 	var $language = 'en';
 	var $db;
 	public $conf;
-	public install_ispconfig_interface = true;
+	public $install_ispconfig_interface = true;
 
 
     public function __construct()
@@ -152,7 +152,7 @@
 		if($cf['host'] == 'localhost') {
 			$from_host = 'localhost';
 		} else {
-			$from_host = $inst->conf['hostname'];
+			$from_host = $this->conf['hostname'];
 		}
 		
 		//* Create the ISPConfig database user
@@ -731,7 +731,7 @@
         // Dont just copy over the virtualhost template but add some custom settings
          
         $content = rf("tpl/apache_ispconfig.vhost.master");
-		$content = str_replace('{vhost_port}', $conf['apache']['vhost_port'], $content);
+		$content = str_replace('{vhost_port}', $this->conf['apache']['vhost_port'], $content);
 		wf("$vhost_conf_dir/ispconfig.vhost", $content);
 		
 		//copy('tpl/apache_ispconfig.vhost.master', "$vhost_conf_dir/ispconfig.vhost");

--
Gitblit v1.9.1