[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-devel
Subject:    [Gallery-devel] PATCH Error Handling
From:       ms419 () freezone ! co ! uk
Date:       2006-05-30 21:22:40
Message-ID: 20060530212240.GH26249 () tor ! lat
[Download RAW message or body]

http://cgi.sfu.ca/~jdbates/tmp/gallery/200605300/patch

The httpauth module sets HTTP response headers whenever an
ERROR_PERMISSION_DENIED error is triggered

If httpauth module is active, it needs to handle ERROR_PERMISSION_DENIED
errors

Instead of implementing a system of error listeners, I use this patch to
post 'Gallery::Error' events

The httpauth event handler checks $data['error']->getErrorCode() &
ERROR_PERMISSION_DENIED

Thanks - Jack

["signature.asc" (application/pgp-signature)]
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic