Re: [SMARTY] Problem with unregister_outputfilter
| From: | Monte Ohrt | Date: | Mon, 22 Jul 2002 15:04:04 +0000 |
| Subject: | Re: [SMARTY] Problem with unregister_outputfilter | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5382@lists.php.net to get a copy of this message | ||
That was an example, I'm sure you can figure out a way to tell Smarty not to load the filter in your setup :)
Monte
Bertrand DUNOGIER wrote:
MO> Then in your script, to avoid the output filter: MO> $smarty = new My_Smarty(false); The problem is that the smarty object created is always the same, and it is loaded in an auto_prepend file. Due to the paths that are used in Smarty during the run, i'd like to avoid the creation of another Smarty object, so that i don't have to duplicate code...