Re: [SMARTY-DEV] Smarty API: file secure checks

From: Date: Wed, 22 May 2002 13:20:04 +0000
Subject: Re: [SMARTY-DEV] Smarty API: file secure checks
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-96@lists.php.net to get a copy of this message
There is already one function used this way, it is kept in the plugin directory as shared.make_timestamp.php. This is used by more than one plugin. Roberto Berto wrote:
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 ---------------------------------------------------------
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.dev (#96) next »