#55 Debug cookie

m8.5
open
nobody
admin (8)
5
2004-10-23
2002-08-19
Matthew Leingang
No

When I'm developing pages or classes, I'm constantly
diving into config.php3 to set the $_PSL['debug']
variable on and off. Why not make this a cookie-ized
variable that can be toggled on the admin screen? It
could be linked to a permission.

Discussion

  • Joe Stewart
    Joe Stewart
    2002-08-19

    Logged In: YES
    user_id=77269

    I like your suggestion for some users to be able to toggle
    debug mode for testing.

    Maybe a permission for this option to be shown to them. If
    set, use a session variable to set the debug state.

    This keeps us from having to mess with another cookie. We
    lose the ability to set long cookie lifetimes.

    Hopefully we can get to working on the config system and the
    ability to toggle user preferences better. This would fit
    right in.

     
  • Joe Stewart
    Joe Stewart
    2004-10-23

    • labels: --> admin
    • milestone: --> m8.5