Get Smarty

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Check reviews of PHP Web Hosting, compatible with Smarty Templates

$security

$security true/false, el default es false. Security es bueno para situaciones cuando usted tiene partes inconfiables editando el template (via ftp por ejemplo) y usetd quiere reducir los riesgos de comportamiento de seguridad del sistema a través del lenguaje del template. Al habilitar la seguridad forza las siguientes reglas del lenguaje del template, a menos que especifique control con $security_settings:

  • Si $php_handling está asignado a SMARTY_PHP_ALLOW, este es implicitamente cambiado a SMARTY_PHP_PASSTHRU

  • Las funciones PHP no son permitidas en sentencias {if}, excepto quellas que esten especificadas en $security_settings

  • Los templates solo pueden ser incluidos en el directorio listado en arreglo $secure_dir

  • Los archivos locales solamente pueden ser traidos del directorio listado en $secure_dir usando el arreglo {fetch}

  • Estas etiquetas {php}{/php} no son permitidas

  • Las funciones PHP no son permitidas como modificadores, excepto si estan especificados en el $security_settings

Comments
No comments for this page.
Post a Comment
All comments are moderated. Support questions are ignored, use the forums instead.
Author:
Email: (not shown)
What is 8 plus 15? (Are you human?)

Sponsors [info]

Cheap Website Hosting @hostdone.com
email marketing @ActiveCampaign
broadband deals @BroadbandGenie
Best UK Web Hosting @webhost.uk.net
Reliable UK and US Web Hosting @rshosting.com
Cheap US and UK Web Hosting @infrenion.com
I.T Certification Exams @pass-guaranteed.com
Certification Practice Tests @firsttrycertify.com
Certification Practice Exam Questions @ace-it-certifications.com
Broadband Speed Test @broadbandspeed.co.uk
bulk email software @americaint.com
ASP.NET hosting @aspnethosting.co.uk