bug 449800
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
||||
2001-08-10 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* russian updates (2 files) thanks to Max Zhivluck
|
||||
* slovak updates thanks to Lubos Klokner
|
||||
* defines.inc.php3, bug 449800, missing @
|
||||
|
||||
2001-08-10 Steve Alberty <alberty@neptunlabs.de>
|
||||
* defines.inc.php3: improve mysql version query, thanks to
|
||||
|
@@ -40,7 +40,7 @@ if (defined('PHP_OS') && eregi('win', PHP_OS)) {
|
||||
// MySQL Version
|
||||
|
||||
if (!empty($server)){
|
||||
$result = mysql_query('SELECT VERSION() AS version');
|
||||
$result = @mysql_query('SELECT VERSION() AS version');
|
||||
if ($result != FALSE && @mysql_num_rows($result) > 0) {
|
||||
$result = mysql_query('SELECT VERSION() AS version') or mysql_die();
|
||||
$row = mysql_fetch_array($result);
|
||||
|
Reference in New Issue
Block a user