Avatar

Smarty 3 and {php} (General)

by Alex ⌂, Sunday, September 04, 2011, 12:25 (4639 days ago) @ edkgb

Hi Eddie!

The Smarty 2->3 upgrade notes say:

The {php} tag is disabled by default. The use of {php} tags is deprecated. It can be enabled with $smarty->allow_php_tag=true.

So you could try to add

$smarty->allow_php_tag=true;

after

$smarty = new Smarty;

in index.php (line 36).

Alex


Complete thread:

 RSS Feed of thread