small hack: that way the sockets stuff works, but must be improved
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user