mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-06 17:44:12 +01:00
Fix setup (support for distrib > 9.x.x)
SVN:trunk[5700]
This commit is contained in:
@@ -686,7 +686,7 @@ if (class_exists('ZipArchive')) // The setup must be able to start even if the "
|
||||
|
||||
$sMysqldumpOutput = $aOutput[0];
|
||||
$aDumpVersionMatchResults = array();
|
||||
preg_match('/Distrib (\d\.\d+\.\d+)/', $sMysqldumpOutput, $aDumpVersionMatchResults);
|
||||
preg_match('/Distrib (\d+\.\d+\.\d+)/', $sMysqldumpOutput, $aDumpVersionMatchResults);
|
||||
|
||||
return $aDumpVersionMatchResults[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user