From aa25544e0ab8a1b9dcc3c47d5953a9a2afc5f77c Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Sun, 05 Feb 2012 21:51:07 +0000 Subject: Removing the @ sign in @mysql_connect so that if the MySQL module is not installed, the Apache log will have an informative error message. --- (limited to 'backend') diff --git a/backend/php/src/setup/index.php b/backend/php/src/setup/index.php index 4087961..93dea6f 100644 --- a/backend/php/src/setup/index.php +++ b/backend/php/src/setup/index.php @@ -164,7 +164,7 @@ if(count($_POST) > 0 && $_SESSION['diagnosticsSuccessful']==false) if ($errors == 0) { AddTrace('File Structure....OK!'); - if (!@mysql_connect ($GLOBALS['configuration']['host'].":".$GLOBALS['configuration']['port'], $GLOBALS['configuration']['user'], $GLOBALS['configuration']['pass'])) + if (!mysql_connect ($GLOBALS['configuration']['host'].":".$GLOBALS['configuration']['port'], $GLOBALS['configuration']['user'], $GLOBALS['configuration']['pass'])) { $errors++; AddError('Cannot connect to the specified database server. Edit configuration.php'); -- cgit v0.9.0.2