Security update. Limits the ability ot call certain insecure PHP functions from Smarty templates.