Sv: [SMARTY] Suggestion for template resources

From: Date: Tue, 06 Aug 2002 13:49:29 +0000
Subject: Sv: [SMARTY] Suggestion for template resources
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5603@lists.php.net to get a copy of this message
Well, IMO it will not solve the problem, just add an another format for Smarty to interpret. Lots of scripts are written using the old syntax, which should be kept for compatibility. Smarty developers on Windows should use 'file:' for absolute paths. It's in the manual. > > Från: "Ferdinand Beyer" <fbeyer@clickhand.de> > Datum: 2002/08/06 Tue PM 02:27:19 CEST > Till: smarty-general@lists.php.net > Ämne: [SMARTY] Suggestion for template resources > > I want to suggest a new way to access template resources. > > Currently one requests a resource with > "<resourcename>:<filepath>". This is problematic since windows > drive letters are considered to be resource types. > > That's why I would prefer the convention > "<resourcename>://<filepath>", eg. "db://path/to/template" - > similar to > PEAR DB datasource names and internet protocols. > > What do you think about that? > > -- > Ferdinand Beyer > <fbeyer@clickhand.de> > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ------------------------------------------------- WebMail från Tele2 http://www.tele2.se -------------------------------------------------

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