From 2e618c4ef465c80029b14946b1ef31308f830f3e Mon Sep 17 00:00:00 2001
From: m-lopez-f <miguel.lopez@artica.es>
Date: Tue, 23 Jun 2015 16:29:37 +0200
Subject: [PATCH] Fixed installer in Windows. Tiquet: #2327

---
 pandora_console/install.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pandora_console/install.php b/pandora_console/install.php
index f6f5aba385..f59c04fa89 100644
--- a/pandora_console/install.php
+++ b/pandora_console/install.php
@@ -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");
 			}