From f4e8cc6d9f88e78876baa54d0ffba77694c56a1b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 9 Feb 2009 08:44:30 -0500 Subject: Add InitializePlugin and CleanupPlugin events We add two events to allow plugins to initialize and cleanup. --- index.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index dac5a8071..0a79b9731 100644 --- a/index.php +++ b/index.php @@ -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'); -- cgit v1.2.3-54-g00ecf