$php_handling
Posted: Sat Jul 28, 2007 10:07 am
Hi
I've changed the $php_handling attribute in the cmsms\lib\smarty\Smarty.class.php from SMARTY_PHP_PASSTHRU to SMARTY_PHP_ALLOW and tried to put following code in the beginning of one of my templates:
{php}
session_start();
{/php}
but it echoed the code instead of executing it. It seems that my change in the $php_handling does not have any effect!!!
I've changed the $php_handling attribute in the cmsms\lib\smarty\Smarty.class.php from SMARTY_PHP_PASSTHRU to SMARTY_PHP_ALLOW and tried to put following code in the beginning of one of my templates:
{php}
session_start();
{/php}
but it echoed the code instead of executing it. It seems that my change in the $php_handling does not have any effect!!!