1
我旧版本的smarty
是2.6.20现在我需要升级旧版本到新版本3.1.1。但在smarty
(3.1.1)的新版本中,我看到了更改libs文件目录。我可以切换到新版本而无需更改我的PHP代码?如何 ?升级版本smarty模板引擎
老Smarty的目录:库/
/internals/
/plugins/
Config_File.class.php
debug.tpl
Smarty.class.php
Smarty_Compiler.class.php
新的Smarty目录:库/
/plugins/
/sysplugins/
Smarty.class.php
SmartyBC.class.php
debug.tpl
该链接已更改为: * [Smarty的2 BC注意事项](https://github.com/smarty-php/smarty/blob/master/SMARTY_2_BC_NOTES.txt) * [Smarty 3 BC Notes](https://github.com/smarty-php/smarty/blob/master /SMARTY_3.0_BC_NOTES.txt) * [Smarty 3.1 Notes](https://github.com/smarty-php/smarty/blob/master/SMARTY_3.1_NOTES.txt) – jackbravo 2016-07-12 17:40:40