Added line to allow for access to webroot variable in templates.