Added PHP and MySQL versions and OS to the statistics

SVN:trunk[2482]
This commit is contained in:
Denis Flaven
2012-11-30 10:08:26 +00:00
parent a975974fc0
commit b563a64eb6
2 changed files with 11 additions and 1 deletions

View File

@@ -825,6 +825,14 @@ EOF
return $aResult;
}
static public function GetMySQLVersion($sDBServer, $sDBUser, $sDBPwd)
{
$oDBSource = new CMDBSource;
$oDBSource->Init($sDBServer, $sDBUser, $sDBPwd);
$sDBVersion = $oDBSource->GetDBVersion();
return $sDBVersion;
}
static public function AsyncCheckDB($oPage, $aParameters)
{
$sDBServer = $aParameters['db_server'];