From d3b484372ec94b8515531c9b041eb6b0a60481de Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Wed, 3 Sep 2014 19:40:37 +0200 Subject: [PATCH] Fixed the search of enterprise help files * general/pandora_help.php: Error fixes on the help file search. --- pandora_console/ChangeLog | 5 +++++ pandora_console/general/pandora_help.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 4e1ed04d3f..3a5b2d9dc7 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-09-03 Alejandro Gallardo + + * general/pandora_help.php: Error fixes on the help file + search. + 2014-09-03 Ramon Novoa * include/help/en/help_alert_macros.php, diff --git a/pandora_console/general/pandora_help.php b/pandora_console/general/pandora_help.php index 0af67fe402..aa15e3107e 100644 --- a/pandora_console/general/pandora_help.php +++ b/pandora_console/general/pandora_help.php @@ -49,8 +49,8 @@ $safe_language = safe_url_extraclean ($user_language, "en"); $safe_id = safe_url_extraclean ($id, ""); $files = array ($config["homedir"]."/include/help/".$safe_language."/help_".$safe_id.".php", - $config["homedir"].ENTERPRISE_DIR."/include/help/".$safe_language."/help_".$safe_id.".php", - $config["homedir"].ENTERPRISE_DIR."/include/help/en/help_".$safe_id.".php", + $config["homedir"]."/".ENTERPRISE_DIR."/include/help/".$safe_language."/help_".$safe_id.".php", + $config["homedir"]."/".ENTERPRISE_DIR."/include/help/en/help_".$safe_id.".php", $config["homedir"]."/include/help/en/help_".$safe_id.".php"); $help_file = ''; foreach ($files as $file) {