fetch() not working in shutdown function
| From: | Abdul-Wahid Paterson | Date: | Thu, 24 Feb 2005 15:19:59 +0000 |
| Subject: | fetch() not working in shutdown function | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12260@lists.php.net to get a copy of this message | ||
Hi,
I am trying to do:
$smarty->fetch('my.tpl');
in a function that I have registered as a shutdown function but it is
not working. If I change my code so that the fetch is not down in the
shutdown function it works fine. As a shutdown function my script
dies in the fetch() method.
Does anyone know of any reason the fetch wouldn't work in this situation?
Regards,
Abdul-Wahid