diff --git a/html/admin/setup.php b/html/admin/setup.php
index 2dcf16548..3e7ee8e89 100644
--- a/html/admin/setup.php
+++ b/html/admin/setup.php
@@ -54,7 +54,12 @@ h2.error {
// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr
$inc_path=get_include_path();
-$inc_path.=':../../include';
+if ( strpos($inc_path,";") != 0 ) {
+ $inc_path.=':..\..\include';
+ } else {
+ $inc_path.=':../../include';
+ }
+
set_include_path($inc_path);
include_once('constant.php');