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

Smarty模板有关问题

WBOY
Release: 2016-06-13 10:04:31
Original
745 people have browsed it

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template