From b97b7df34ff9d65934b9d5b972111475272cacba Mon Sep 17 00:00:00 2001
From: Kevin Duret <kduret@centreon.com>
Date: Mon, 23 Jan 2017 12:35:26 +0100
Subject: [PATCH] fix path to clone ihtml

---
 www/include/configuration/configNagios/formNagios.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/include/configuration/configNagios/formNagios.php b/www/include/configuration/configNagios/formNagios.php
index 92c9d68d29..156d0b868a 100644
--- a/www/include/configuration/configNagios/formNagios.php
+++ b/www/include/configuration/configNagios/formNagios.php
@@ -906,7 +906,7 @@ if ($valid) {
         _("Warning: this value can be dangerous, use -1 if you have any doubt.")
     );
     $tpl->assign('cloneSet', $cloneSet);
-    $tpl->assign('centreon_path', $centreon->optGen['oreon_path']);
+    $tpl->assign('centreon_path', _CENTREON_PATH_);
     $tpl->assign("initial_state_warning", _("This option must be enabled for Centreon Dashboard module."));
     $tpl->assign("aggressive_host_warning", _("This option must be disable in order to avoid latency problem."));
     $tpl->display("formNagios.ihtml");
-- 
GitLab