summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index 5b4e3c40c..7d3ec108c 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -49,6 +49,11 @@ require_once('DB/DataObject/Cast.php'); # for dates
require_once(INSTALLDIR.'/lib/language.php');
+// This gets included before the config file, so that admin code and plugins
+// can use it
+
+require_once(INSTALLDIR.'/lib/event.php');
+
// try to figure out where we are
$_server = array_key_exists('SERVER_NAME', $_SERVER) ?