Commit Graph

4 Commits

Author SHA1 Message Date
Tim Almdal
68411cc903 Allow themes to override event handlers. In gallery::ready() grab the server
PATH_INFO and pass it to the theme::load_themes method.  If it starts with
\"/admin\", then set the theme to the active admin theme, otherwise set it to
the active site theme.  Fixes ticket #841: Themes cannot overload event classes."
2009-10-23 17:58:55 -07:00
Tim Almdal
28060d9dce Create a gallery error handler that traps php errors and rethrows them as Exceptions. This fixes ticket #763 2009-09-22 14:25:52 -07:00
Bharat Mediratta
88a3d43ba9 Update all references to the core application to now point to the
gallery module.  This type of mass update is prone to some small bugs.
2009-05-27 16:17:29 -07:00
Bharat Mediratta
28b41056e3 Restructure things so that the application is now just another module.
Kohana makes this type of transition fairly straightforward in that
all controllers/helpers/etc are still located in the cascading
filesystem without any extra effort, except that I've temporarily
added a hack to force modules/gallery into the module path.

Rename what's left of "core" to be "application" so that it conforms
more closely to the Kohana standard (basically, just
application/config/config.php which is the minimal thing that you need
in the application directory)

There's still considerable work left to be done here.
2009-05-27 15:07:27 -07:00