Fixed installer in Windows. Tiquet: #2327

(cherry picked from commit 2e618c4ef4)
This commit is contained in:
m-lopez-f 2015-06-23 16:29:37 +02:00
parent 298b509b97
commit 8e230d59f9
1 changed files with 3 additions and 0 deletions

View File

@ -545,6 +545,9 @@ function install_step2() {
else if (PHP_OS == "NetBSD") {
$res += check_exists ("/usr/pkg/bin/twopi","Graphviz Binary");
}
else if ( substr(PHP_OS, 0, 3) == 'WIN' ) {
$res += check_exists ("..\\..\\..\\Graphviz\\bin\\twopi.exe", "Graphviz Binary");
}
else {
$res += check_exists ("/usr/bin/twopi","Graphviz Binary");
}