Re: [SMARTY-DEV] More accurate compiled file names
| From: | Antony Dovgal | Date: | Sun, 30 May 2004 19:44:17 +0000 |
| Subject: | Re: [SMARTY-DEV] More accurate compiled file names | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2330@lists.php.net to get a copy of this message | ||
On Sun, 30 May 2004 02:31:49 +0400
Dmitry Koteroff <spam@koteroff.ru> wrote:
> Hello.
>
> Smarty saves its compiled code to files with unreadable names
> (like %%23t2763%%sjhdjsdhjshgd.php). It makes too difficult to
> find fatal error in the template (for example, {$obj->spoon()},
> where spoon is non-existent method).
Again, I don't see any point in fixing this.
Imho compiled templates are some kind of technical data, which
should not be read by user/programmer.
Forget about them, these errors, which you're talking about, should be
handled BEFORE they happen.
So, I'm strongly -1 now.
But I would give my +1 for a patch, which will allow to handle all
possible errors before they get into compiled templates.
What do you think about such patch? Can you try to write one?
--
Wbr,
Antony Dovgal aka tony2001
tony2001@phpclub.net || antony@dovgal.com