Home >Backend Development >PHP Tutorial >Smarty模板有关问题

Smarty模板有关问题

WBOY
WBOYOriginal
2016-06-13 10:04:31742browse

Smarty模板问题
Uncaught exception 'SmartyException' with message 'Call of unknown method 'get_config_vars'.'

Smarty3.1.6版本,测试的时候出现这个错误提示,什么原因造成?怎么解决?

------解决方案--------------------
get_config_vars 函数未定义!
另外请注意 Smarty2 和 Smarty3 在自定义模板函数上的区别

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn