Fixed installer in Windows. Tiquet: #2327

This commit is contained in:
m-lopez-f 2015-06-23 16:29:37 +02:00
parent d0a0b11440
commit 2e618c4ef4
1 changed files with 3 additions and 0 deletions

View File

@ -562,6 +562,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");
}