fix over fix :)
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
||||
2001-08-21 Olivier M<>ller <om@omnis.ch>
|
||||
* db_stats.php3: added list of 20 biggest db's.
|
||||
* lib.inc.php3: fixed the socket patch, should work now.
|
||||
* lib.inc.php3: re-fixed :)
|
||||
|
||||
2001-08-21 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* db_stats.php3: ensured the script is XHTML1.0 compliant and fits the
|
||||
|
12
lib.inc.php3
12
lib.inc.php3
@@ -93,7 +93,9 @@ if (!defined('__LIB_INC__')){
|
||||
if (!isset($cfgTextareaRows)) {
|
||||
$cfgTextareaRows = 7;
|
||||
}
|
||||
include('./defines.inc.php3');
|
||||
|
||||
// defines wants to connect mysql, and at this place there are no connexion yet...
|
||||
// include('./defines.inc.php3');
|
||||
|
||||
|
||||
|
||||
@@ -275,7 +277,7 @@ if (!defined('__LIB_INC__')){
|
||||
$server_socket = (empty($cfgServer['socket']) || PHP_INT_VERSION < 30010)
|
||||
? ''
|
||||
: ':' . $cfgServer['socket'];
|
||||
$dbh = @$connect_func(
|
||||
$dbh = $connect_func(
|
||||
$cfgServer['host'] . $server_port . $server_socket,
|
||||
$cfgServer['stduser'],
|
||||
$cfgServer['stdpass']
|
||||
@@ -371,10 +373,10 @@ if (!defined('__LIB_INC__')){
|
||||
$server_socket = (empty($cfgServer['socket']) || PHP_INT_VERSION < 30010)
|
||||
? ''
|
||||
: ':' . $cfgServer['socket'];
|
||||
$link = @$connect_func(
|
||||
$link = $connect_func(
|
||||
$cfgServer['host'] . $server_port . $server_socket,
|
||||
$cfgServer['stduser'],
|
||||
$cfgServer['stdpass']
|
||||
$cfgServer['user'],
|
||||
$cfgServer['password']
|
||||
) or mysql_die();
|
||||
} // end server connecting
|
||||
|
||||
|
Reference in New Issue
Block a user