summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index 64c7f2410..2f85eb7c5 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -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');