Posted on Oct 24, 2007, 1:23 am by chris
| |
|
Oh, my. That's a new one, sorry for the inconvenience.
If you are not afraid of playing a bit with Php code, simply open index.php and comment out these two lines:
$TEMPLATE->php_handling = SMARTY_PHP_REMOVE; // default: do not allow php tags $TEMPLATE->security = TRUE; // Pseudo-safe mode
|
However there is no reason for Smarty to be afraid of a null value...its security model only checks for functions (or so is the claim).
Would you be kind enough to post lines 40-60 of your profile.tpl here?Thanks
ps:Smarty is so wonderful yet so convoluted! I even posted about its confusing security model at least a year ago...
|