2013-02-27 Sergio Martin <sergio.martin@artica.es>

* 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
This commit is contained in:
zarzuelo 2013-02-27 18:16:49 +00:00
parent 62efe0f580
commit 1d27ca8df2
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-02-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Include a library in
functions config to avoid error in GD graphs
2013-02-27 Sergio Martin <sergio.martin@artica.es> 2013-02-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php * include/functions_html.php

View File

@ -75,6 +75,9 @@ function config_update_value ($token, $value) {
function config_update_config () { function config_update_config () {
global $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 user is not even log it, don't try this */
if (! isset ($config['id_user'])) { if (! isset ($config['id_user'])) {
$config['error_config_update_config'] = array(); $config['error_config_update_config'] = array();