Smarty API: file secure checks
| From: | Roberto Berto | Date: | Wed, 22 May 2002 06:58:32 +0000 |
| Subject: | Smarty API: file secure checks | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-95@lists.php.net to get a copy of this message | ||
What do you think about a Smarty Method to check if a file is inside the
$security_dir array and add it to Smarty Methods?
This is usefull to use with the plugins. There are a routine inside
plugins/function.fetch.php that can be reused to the new method.
The method will return bool and It can be used inside many Smarty
private functions and plugins.
Atenciosamente,
---------------------------------------------------------
Roberto Bertó, e-Consultor
Cel: 51 91169628
email: berto@under.com.br
UNDER DEVELOPMENT - http://www.UNDER.com.br
Tel/FAX: 51 32270599 Rua Duque de Caxias, 1594 apto. 204
CEP 900010-281 - Porto Alegre - RS
---------------------------------------------------------
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]