Added getConfiguredShopUrl() to access url_site variable
This commit is contained in:
@@ -73,6 +73,12 @@ class ConfigQuery extends BaseConfigQuery
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
public static function getConfiguredShopUrl()
|
||||
{
|
||||
return ConfigQuery::read("url_site", '');
|
||||
}
|
||||
|
||||
public static function getDefaultLangWhenNoTranslationAvailable()
|
||||
{
|
||||
return ConfigQuery::read("default_lang_without_translation", 1);
|
||||
|
||||
Reference in New Issue
Block a user