Re: notice error reporting
| From: | Hojtsy Gabor | Date: | Thu, 19 Jul 2001 07:17:09 +0000 |
| Subject: | Re: notice error reporting | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1195@lists.php.net to get a copy of this message | ||
I do use some undefined template vars tricks, while
also working with error_reporting(E_ALL);
I have extended the Smarty class and added an
error_reporting(E_ALL & ~E_NOTICE); to my fetch()
extension, so now no notice errors are printed :)
Goba
>-----Original Message-----
>From: Cynic [mailto:cynic@mail.cz]
>Sent: Thursday, July 19, 2001 5:01 AM
>To: Konstantin Boshnyaga; smarty@lists.ispi.net
>Subject: [smarty] Re: notice error reporting
>
>
>sure. send in your patches. :)
>
>At 16:29 7/18/2001, Konstantin Boshnyaga wrote the following:
>--------------------------------------------------------------
>>Hello smarty!
>>
>> I my project i am using error reporting set to all errors:
>> error_reporting (E_ALL);
>>
>> and Smarty generates a lots of NOTICE type errors.
>>
>> Can this be fixed ?
>>
>>
>>--
>>Best regards,
>> Konstantin mailto:ameoba32@mail.ru
>
>
>
>cynic@mail.cz
>-------------
>And the eyes of them both were opened and they saw that their files
>were world readable and writable, so they chmoded 600 their files.
> - Book of Installation chapt 3 sec 7
>
>
>---
>You are currently subscribed to smarty as: gabor@hojtsy.hu
>To unsubscribe send a blank email to
>$subst('Email.Unsub')
>Visit Smarty's homepage at
>http://www.phpinsider.com/php/code/Smarty/
>
>