Re: [SMARTY] plugins_dir in unstable release

From: Date: Mon, 03 Mar 2003 23:14:21 +0000
Subject: Re: [SMARTY] plugins_dir in unstable release
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8354@lists.php.net to get a copy of this message
Le lun 03/03/2003 à 10:30, Hinrich Donner a écrit : > On Monday 03 March 2003 02:46, Juzan Jean-Michel wrote: > > > seems in the unstable release $smarty->plugins_dir not work with array. > > $smarty->plugins_dir = array > > ($pathSmarty.'ecreasol-plugins',$pathSmartyLib.'plugins'); > > > > Fatal error: Smarty error: [in menuvertical.tpl line 4]: [plugin] > > unknown tag - 'cycle' (Smarty.class.php, line 2545) in > > /mnt/raid/local/phptools/smarty-unstable/libs/Smarty.class.php on line > > 2654 > > I need to have separate plugins directory for easy admin (work in > > 2.4.2). > > > > What is the correct syntax to do that. > > I use trailing slashes and have no problems with this, I try $smarty->plugins_dir = array($pathSmarty.'/usr/local/phptools/smarty/ecreasol-plugins',/usr/local/phptools/smarty/libs/plugins'); and $smarty->plugins_dir = array($pathSmarty.'/usr/local/phptools/smarty/ecreasol-plugins/',/usr/local/phptools/smarty/libs/plugins/'); But seems not work, I have no error but for example string_format have no effect, seems the plugin it's not load -- Jean-Michel Juzan jmjuzan@ecreasol.ch Direction Informations & Technologies eCreaSol - NetWork Creative Solutions SARL - http://www.ecreasol.ch/ PGP public keys server : http://www.keyserver.net

Attachment: [application/pgp-signature] signature.asc
« previous php.smarty.general (#8354) next »