// small fix for smarty pre-compile
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require_once(_PS_ROOT_DIR_.'/config/settings.inc.php');
|
||||
define('_PS_DO_NOT_LOAD_CONFIGURATION_', true);
|
||||
if (Tools::getValue('bo'))
|
||||
{
|
||||
if (!is_dir(_PS_ROOT_DIR_.'/admin/'))
|
||||
|
||||
Reference in New Issue
Block a user