From 80e7b0d7d17b0e9581fa56be484b8772d82261de Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 18 Nov 2009 11:19:42 -0500 Subject: [PATCH] Added code to delete old remote sessions. --- install/install.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/install/install.php b/install/install.php index 4378fd7..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 { @@ -358,7 +361,7 @@ } //** Configure Apache - swriteln("\nHint: If this server shall run the ispconfig interface, select 'y' in the next option.\n"); + swriteln("\nHint: If this server shall run the ispconfig interface, select 'y' in the 'Configure Apache Server' option.\n"); if(strtolower($inst->simple_query('Configure Apache Server',array('y','n'),'y')) == 'y') { $conf['services']['web'] = true; swriteln('Configuring Apache'); -- Gitblit v1.9.1