mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-11 03:54:21 +01:00
Fix merge wrongfully performed
(thanks @molkobain & @piRGoif & @odain-cbd)
This commit is contained in:
@@ -617,8 +617,11 @@ class SetupUtils
|
||||
clearstatcache();
|
||||
if (!is_file($sGraphvizPath) || !is_executable($sGraphvizPath)) {
|
||||
//N°3412 avoid shell injection
|
||||
return new CheckResult(CheckResult::ERROR,
|
||||
"$sGraphvizPath could not be executed: Please make sure it is installed and in the path");
|
||||
$aResult = [];
|
||||
$aResult[] = new CheckResult(CheckResult::ERROR,
|
||||
self::GetStringForJsonEncode("$sGraphvizPath could not be executed: Please make sure it is installed and in the path", 'Graphviz could not be executed')
|
||||
);
|
||||
return $aResult;
|
||||
}
|
||||
|
||||
if (!utils::IsWindowsEnvironment()){
|
||||
|
||||
Reference in New Issue
Block a user