// Add method method getGlobalValue on Configuration
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10282 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user