diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-09 08:44:30 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-09 08:44:30 -0500 |
commit | f4e8cc6d9f88e78876baa54d0ffba77694c56a1b (patch) | |
tree | 1e55ae6a5724be020d1d39f729c4433f369c87e8 /index.php | |
parent | 5d246299b630c55d98cc03eeb650561defbeeff4 (diff) |
Add InitializePlugin and CleanupPlugin events
We add two events to allow plugins to initialize and cleanup.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -85,3 +85,8 @@ if (!file_exists($actionfile)) { $sac->showPage(); } } + +// XXX: cleanup exit() calls or add an exit handler so +// this always gets called + +Event::handle('CleanupPlugin'); |