small hack: that way the sockets stuff works, but must be improved

This commit is contained in:
Olivier Müller
2001-08-21 10:13:05 +00:00
parent bf42fcff45
commit bc9e34e0cd
2 changed files with 7 additions and 1 deletions

View File

@@ -46,6 +46,8 @@ if (!defined('PMA_WINDOWS')) {
} }
} }
if (!$nomysql) { // small hack (temporary)
// MySQL Version // MySQL Version
if (!defined('MYSQL_MAJOR_VERSION')) { if (!defined('MYSQL_MAJOR_VERSION')) {
if (!empty($server)) { if (!empty($server)) {
@@ -68,4 +70,6 @@ if (!defined('MYSQL_MAJOR_VERSION')) {
define('MYSQL_MINOR_VERSION', 0); define('MYSQL_MINOR_VERSION', 0);
} // end if } // end if
} }
}
?> ?>

View File

@@ -95,7 +95,9 @@ if (!defined('__LIB_INC__')){
} }
// defines wants to connect mysql, and at this place there are no connexion yet... // defines wants to connect mysql, and at this place there are no connexion yet...
// include('./defines.inc.php3'); $nomysql = 1;
include('./defines.inc.php3');
$nomysql = 0;