Add InitializePlugin and CleanupPlugin events
We add two events to allow plugins to initialize and cleanup.
This commit is contained in:
@@ -212,3 +212,7 @@ function __autoload($class)
|
||||
require_once(INSTALLDIR.'/lib/' . strtolower($class) . '.php');
|
||||
}
|
||||
}
|
||||
|
||||
// Give plugins a chance to initialize in a fully-prepared environment
|
||||
|
||||
Event::handle('InitializePlugin');
|
||||
|
Reference in New Issue
Block a user