Re: [SMARTY] Multiple Config Directories

From: Date: Wed, 12 Mar 2003 11:40:22 +0000
Subject: Re: [SMARTY] Multiple Config Directories
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8571@lists.php.net to get a copy of this message
On Wednesday 12 March 2003 12:15, Martin Mandl wrote: > I am using multiple config_dir to integrate different languages ... > works quite well: > > function mySmarty() { > $this->template_dir = 'templates/'; > $this->compile_dir = 'templates_c/'; > $this->config_dir = 'lang/' . $this->language . '/'; > $this->cache_dir = 'cache/'; > return $this->Smarty(); > } Thanks. I do need this for different modules. There is the possiblity that are more than one module is active at one time. Because of that, I need more than one configiration directory at time. -- Hinrich Donner

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