From d49a428a984a3b8138206219d020a59783f354eb Mon Sep 17 00:00:00 2001 From: rGaillard Date: Fri, 18 Nov 2011 16:46:56 +0000 Subject: [PATCH] // Add method method getGlobalValue on Configuration --- classes/Configuration.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/classes/Configuration.php b/classes/Configuration.php index b49267209..a91616c7e 100644 --- a/classes/Configuration.php +++ b/classes/Configuration.php @@ -159,6 +159,11 @@ class ConfigurationCore extends ObjectModel return self::$_CONF[$langID]['global'][$key]; return false; } + + static public function getGlobalValue($key, $langID = NULL) + { + return self::get($key, $langID, 0, 0); + } /** * Get a single configuration value (in multiple languages)