From 8ba08e0e37faa9017e1717ca3854bb25c999a277 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 06 Oct 2009 10:03:11 -0400
Subject: [PATCH] Merged revisions 1357 - 1402 from trunk.

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

diff --git a/install/install.php b/install/install.php
index 15defd6..43ba2e5 100644
--- a/install/install.php
+++ b/install/install.php
@@ -109,6 +109,9 @@
 $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
+if(!function_exists('mysql_connect')) die('No PHP mysql functions available. Please ensure that the PHP mysql module is loaded.');
+
 //** Get MySQL root credentials
 $finished = false;
 do {

--
Gitblit v1.9.1