summaryrefslogtreecommitdiff
path: root/modules/gallery/views/kohana/error.php
AgeCommit message (Collapse)Author
2010-07-15Don't show a themed 404 page if we get to a 404 via file_proxy. JustBharat Mediratta
return a simple "File not found" message, since this is a very basic file access (thumbnail, resize, original etc)
2010-06-20Remove trailing ?>Bharat Mediratta
2010-06-19Rework our exception framework to fit into Kohana's model better.Bharat Mediratta
Instead of overwriting Kohana_Exception::handle() (which we were doing in MY_Kohana_Exception) we instead use their existing template system. gallery/views/kohana/error.php overrides system/views/kohana/error.php and is the standard error template for all exceptions. Our version of error.php figures out the appropriate view based on context (cli, authenticated admin, guest viewing a 404, guest viewing a system error) and delegates appropriately. Each delegated view has a narrow responsibility. This paves the way for us to add new error views per module. For example, the rest module will define its own template in Rest_Exception and then its exceptions can be rendered the way that it wants (json encoded, in that case).
2010-02-27Fix for ticket #1036 - Don't echo any sensitive information such as ↵Andy Staudacher
passwords, hashes or personally identifiable information.
2010-01-30Make the error page more robust in the case where there's a failureBharat Mediratta
early on in the framework code before we can load Gallery_I18n.php
2010-01-02Fix up tabs, leading <?php.Bharat Mediratta
2009-12-23Cleaner version. Probably has a bunch of cruft in it, but it looks good enough.Bharat Mediratta
2009-12-23First shot at integrating the K24 error page.Bharat Mediratta