Re: [SMARTY-DEV] Template path including '.'?

From: Date: Tue, 23 Dec 2003 14:23:04 +0000
Subject: Re: [SMARTY-DEV] Template path including '.'?
References: 1 2 3  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2012@lists.php.net to get a copy of this message
Messju writes: > smarty uses php's include_path to look for templates if it > cannot find the template in $smarty->template_dir . it's > more an undocumented feature than a bug, IMHO Ah, found it now (in core.get_include_path.php). Like all good features, should this have an option to turn it off? The risk of exposing PHP code, as it did for me, seems a good justification for not having to have this, although I can see why it might be liked by many. Or, can you see a good way to work around this without modifying Smarty? > > This is with 2.6.0-RC2. > > consider upgrading to 2.6.0 . some bugs are fixed in there. Indeed, I have in most cases, only realising that this site was not up to date when I checked the version for posting here. -- Mark Rogers, More Solutions Ltd

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