- bugfix on $php_handling security and optimization of smarty_internal_p...

...arsetree (Thue Kristensen)