mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
fix testing MySQLBinDir (#770)
This commit is contained in:
@@ -595,13 +595,13 @@ EOF;
|
||||
$sMySQLCommand = $sCmd;
|
||||
} else {
|
||||
$sMySQLBinDir = escapeshellcmd($sMySQLBinDir);
|
||||
$sMySQLCommand = '"'.$sMySQLBinDir.'/$sCmd"';
|
||||
$sMySQLCommand = $sMySQLBinDir.'/'.$sCmd;
|
||||
if (!file_exists($sMySQLCommand)) {
|
||||
throw new BackupException("$sCmd not found in $sMySQLBinDir");
|
||||
}
|
||||
}
|
||||
|
||||
return $sMySQLCommand;
|
||||
return '"'.$sMySQLCommand.'"';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user