Bug or Feature
| From: | Hinrich Donner | Date: | Fri, 14 Feb 2003 20:13:03 +0000 |
| Subject: | Bug or Feature | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7772@lists.php.net to get a copy of this message | ||
Hi,
if I use $smarty->fetch() having set $smarty->debugging to 1, Smarty won't
produce the debug output unless I use {debug} somewhere in the template.
Is this a bug or a feature?
I like to use Smarty this way:
$smarty =& new Smarty();
$output = $smarty->fetch('foo.tpl');
echo modifyOutput(&$output);
Hinrich
--
Hinrich Donner