mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 13:08:45 +02:00
Added PHP and MySQL versions and OS to the statistics
SVN:trunk[2482]
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user