Re: [SMARTY-GENERAL] Smarty API suggestion: template_exists()

From: Date: Wed, 03 Apr 2002 17:54:06 +0000
Subject: Re: [SMARTY-GENERAL] Smarty API suggestion: template_exists()
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3464@lists.php.net to get a copy of this message
This has been added. On Tue, 02 Apr 2002, Simon Willison wrote: > I understand that the published Smarty API is kept as minimal as > possible (and with good reason) but the following method could make sense: > > $smarty->template_exists('template.tpl'); // returns true or false > depending on whether or not the template file exists > > Cheers, > > Simon Willison > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -Andrei * Proximity bug: when the program crashes in front of important visitors. *

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