From 0aeae92b3578e173c3fb68bf49ab0df727d56890 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 27 Feb 2013 18:16:49 +0000 Subject: [PATCH] 2013-02-27 Sergio Martin * include/functions_config.php: Include a library in functions config to avoid error in GD graphs git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_config.php | 3 +++ 2 files changed, 8 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 5b1ef125e9..8c14b30b90 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-02-27 Sergio Martin + + * include/functions_config.php: Include a library in + functions config to avoid error in GD graphs + 2013-02-27 Sergio Martin * include/functions_html.php diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index e9eb59091f..6e9c1bcf1e 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -75,6 +75,9 @@ function config_update_value ($token, $value) { function config_update_config () { global $config; + // Include functions_io to can call __() function + include_once($config['homedir'] . '/include/functions_io.php'); + /* If user is not even log it, don't try this */ if (! isset ($config['id_user'])) { $config['error_config_update_config'] = array();