From 10fd4fc7f79a5415a6f56c788d7d5c369d5b4049 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 28 Feb 2012 05:19:05 -0500
Subject: [PATCH] Fixed some php notices.
---
install/install.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/install/install.php b/install/install.php
index 46c313e..a893d15 100644
--- a/install/install.php
+++ b/install/install.php
@@ -113,7 +113,7 @@
//** Get the hostname
$tmp_out = array();
exec('hostname -f', $tmp_out);
-$conf['hostname'] = $inst->free_query('Full qualified hostname (FQDN) of the server, eg server1.domain.tld ', $tmp_out[0]);
+$conf['hostname'] = $inst->free_query('Full qualified hostname (FQDN) of the server, eg server1.domain.tld ', @$tmp_out[0]);
unset($tmp_out);
// Check if the mysql functions are loaded in PHP
--
Gitblit v1.9.1