fixed using mysql_get_server_info()

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9348 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-09-27 01:06:17 +00:00
parent 67a31ed436
commit bbbd26055d

View file

@ -69,7 +69,7 @@
return;
}
// Error appears if the version is lower than 4.1
if(mysql_get_server_info($result)<"4.1") {
if(mysql_get_server_info()<"4.1") {
$this->setError(-1, "XE cannot be installed under the version of mysql 4.1. Current mysql version is ".mysql_get_server_info());
return;
}