Call to undefined function config_load()
The PHP code is as below:
$smarty = new Smarty ();
$smarty->config_load("test.conf");
Solution:
The load configuration function should be configLoad, instead of config_load.
$smarty = new Smarty ();
$smarty->configLoad("test.conf");

沒有留言:
張貼留言