RE: Announcement: Smarty 1.4.3 now available

From: Date: Wed, 20 Jun 2001 21:53:53 +0000
Subject: RE: Announcement: Smarty 1.4.3 now available
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-911@lists.php.net to get a copy of this message
On 20-Jun-01 Monte Ohrt wrote: > One easy and secure method is to put directives in apache (or via > .htaccess) to disallow direct access to /configs, /templates and > /templates_c directories. That isn't an opion for us. phpReview will be distributed for all webservers. I suggest that a simple redirect could be something like: if (basename($PHP_SELF) == "file.tpl.php") { header( "location: some configurl"); } I'm using it for all the classes I'm writing. The question is what kind of default value could be used, maybe the smarty site :). Regards, Hans -- Linux : http://linux.gelrevision.nl/ phpReview : http://phpReview.nl.linux.org/ Boeken : http://nl.linux.org/boeken/

« previous php.smarty.general (#911) next »