有没有办法var/compiled
在 CS-Cart 中全局禁用编译?
我正在使用 CS-Cart 版本 2.2.4
这是我在中定义的config.local.php
:
define('DEVELOPMENT', true);
// Tweaks
$config['tweaks'] = array(
'js_compression' => false, // enables compession to reduce size of javascript files
'check_templates' => true, // disables templates checking to improve template engine speed
'inline_compilation' => false, // compiles nested templates in one file
'anti_csfr' => false, // protect forms from CSFR attacks (experimental)
'disable_block_cache' => true, // used to disable block cache
'join_css' => false, // is used to unite css files into one file
'allow_php_in_templates' => false, // Allow to use {php} tags in templates
);
我还在后端设置了开发模式,但这似乎并没有改变任何东西。
在插件中编辑 .tpl 时,我仍然需要删除var/compiled
才能看到我的更改。任何想法?