diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0f6a96fda1..1b609beaea 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-11-03 Sancho Lerena + + * include/functions_html.php: Skip config.php loading after load + the first one. + 2011-11-03 Sergio Martin * include/graphs/functions_pchart.php: Fixed graphs to adapt bottom diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index e523166f6c..cfaa802d18 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -26,6 +26,7 @@ if (!isset($config)) { for ($i = 0; $i < $levels; $i++) { if(file_exists(str_repeat("../", $i) . 'config.php')) { require_once(str_repeat("../", $i) . "config.php"); + break; // Skip config.php loading after load the first one } } }