smarty template engine
Monday, October 13, 2008  
download | documentation | faq | forum | mailing lists | changelog | contribs 


search for in the  


$secure_dir

Ini adalah array dari semua file lokal dan direktori yang dianggap aman. {include} dan {fetch} gunakan ini ketika $security dihidupkan.

Teladan 12-5. $secure_dir example

<?php
$secure_dirs
[] = '/path/to/site/root/templates/';
$secure_dirs[] = '/path/to/includes/';
$smarty->secure_dir $secure_dirs;
?>

Lihat juga $security_settings dan $trusted_dir.




 

credits 

Smarty Copyright © 2002-2008
New Digital Group, Inc.

All rights reserved.