Re: [SMARTY-DEV] Re: config_load removed from core

From: Date: Sun, 20 Apr 2003 18:54:54 +0000
Subject: Re: [SMARTY-DEV] Re: config_load removed from core
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1236@lists.php.net to get a copy of this message
I don't have any written on-hand. But for example, if you wanted to support a new config file format such as one in php.ini format, you could do this: {config_load file="foo.conf" format="ini"} ... and the plugin could use php's built-in ini file functions to load values. Monte On Sun, 2003-04-20 at 13:40, Tom Sommer wrote: > On 20 Apr 2003 13:21:42 -0500, Monte Ohrt wrote: > > > This will allow you to drop in a plugin to make custom config_load > > features instead of editing the smarty library files. > > Example? > > > -- > Tom Sommer, Denmark > www.tsn.dk - www.dreamcoder.dk -- Monte Ohrt <monte@ispi.net>

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