From e1ca417735a05a23fa7d6dd2e03f6bb686f01eee Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Tue, 15 Jan 2013 18:13:04 +0000 Subject: [PATCH] 2013-01-15 Juan Manuel Ramon * include/config_process.php: Fixed language translation in metaconsole. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/config_process.php | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 5f7f637f06..b400e862a9 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-01-15 Juan Manuel Ramon + + * include/config_process.php: Fixed language translation in + metaconsole. + 2013-01-15 Dario Rodriguez * pandora_console_install: Fixed directory install for diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index dcc7afaae3..177ea5f8f2 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -162,7 +162,12 @@ if (!isset($config['inventory_changes_blacklist'])) { $config['inventory_changes_blacklist'] = array(); } -set_user_language(); +if (defined('METACONSOLE')) { + enterprise_include_once('meta/include/functions_users_meta.php'); + enterprise_hook('set_meta_user_language'); +} +else + set_user_language(); require_once ($ownDir . 'functions_extensions.php');