Re[2]: [SMARTY] Problem with unregister_outputfilter
| From: | Bertrand DUNOGIER | Date: | Mon, 22 Jul 2002 14:55:58 +0000 |
| Subject: | Re[2]: [SMARTY] Problem with unregister_outputfilter | ||
| References: | 1 2 3 4 5 6 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5381@lists.php.net to get a copy of this message | ||
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...