Also, btw, you're hiding any potential E_STRICT errors that would crop up
before the option can be retrieved. In order to minimize this, I'd say
reversing the process would be better: turn OFF E_STRICT if you DON'T get
the option, rather than turning it on if you do.

On Wed, Nov 26, 2008 at 12:06 AM, Chris Meller <[EMAIL PROTECTED]>wrote:

> I would think it would be significantly better to leave error reporting as
> is so all errors get logged, but turn display_errors off in production so
> they don't get displayed to the user.
> Also, it would seem to be a good idea to supply a constant that can be set
> in your config.php file so you can turn error reporting, et al on if a
> problem is preventing you from actually logging in.
>
>
> On Tue, Nov 25, 2008 at 11:30 PM, rick c <[EMAIL PROTECTED]> wrote:
>
>>
>> This has been ( correctly, I hope ) implemented in changeset 2886.
>>
>> Rick
>>
>> On Nov 24, 12:23 pm, Arthus Erea <[EMAIL PROTECTED]> wrote:
>> > +1
>> >
>> > The merits of E_STRICT shouldn't be ignored for development. That
>> > being said, it isn't suitable for a production environment.
>> >
>> > Additionally, it should be a user-facing option (stored in the DB) to
>> > set the error level. Ideally we would have different levels possible
>> > (development, production, etc.)
>> >
>> > On Nov 24, 2008, at 10:38 AM, Rich Bowen wrote:
>> >
>> >
>> >
>> > > On Nov 24, 2008, at 01:50, Stenehall wrote:
>> >
>> > >> Could a solution be a checkbox in the admin-panel, "enable more
>> > >> extensive error reporting"?
>> >
>> > > +1
>> >
>> > > I think my earlier message got lost in the ether while our network was
>> > > down.
>> >
>> > > I'm a huge advocate of E_STRICT in development, but since we have no
>> > > control over what third-party plugins will be installed, it is not
>> > > sensible to have E_STRICT enabled in our released production build.
>> >
>> > > --
>> > > "There are two kinds of light--the glow that illuminates, and the
>> > > glare that obscures."
>> > > James Thurber
>> >>
>>
>
>
> --
>
> Groucho Marx  - "Anyone who says he can see through women is missing a
> lot."
>



-- 

W. C. Fields  - "I cook with wine, sometimes I even add it to the food."

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to