首页
Profile
Profile
Profile
Profile
Profile

找到了Smarty的几个参数,摘要一下

2008-02-01 阅读 308
This tells Smarty whether to check for recompiling or not. Recompiling does not need to happen unless a template or config file is changed. Typically you enable this during development, and disable for production. `@var` boolean var $compile_check = true; 是否每次检查 This forces templates to compile every time. Useful for development or debugging. @var boolean var $force_compile = false; 每次组装 This enables template caching. 0 = no caching 1 = use class cache_lifetime value 2 = use cache_lifetime in cache file @var integer var $caching = 0; 缓存一个template文件 smarty 模板 配置
更新于 2023年03月28日
 
陕ICP备13008705号-1 Chat Gpt Api