// small fix for smarty pre-compile

This commit is contained in:
Rémi Gaillard
2013-01-14 11:05:42 +01:00
parent 60260c4757
commit f516409fc0
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -145,6 +145,9 @@ class ConfigurationCore extends ObjectModel
*/
public static function get($key, $id_lang = null, $id_shop_group = null, $id_shop = null)
{
if (defined('_PS_DO_NOT_LOAD_CONFIGURATION_') && _PS_DO_NOT_LOAD_CONFIGURATION_)
return false;
// If conf if not initialized, try manual query
if (!self::$_CONF)
{