From 8e230d59f9eb7f0cc4e284f707ee8c941acffea6 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 23 Jun 2015 16:29:37 +0200 Subject: [PATCH] Fixed installer in Windows. Tiquet: #2327 (cherry picked from commit 2e618c4ef465c80029b14946b1ef31308f830f3e) --- pandora_console/install.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_console/install.php b/pandora_console/install.php index 13918341b0..9d275d83e6 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -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"); }