From 12d7c30ef79c5ad84b7bac5e4863db3ce4e23621 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 9 Feb 2009 06:52:39 -0500 Subject: Add event.php before config.php is called --- lib/common.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/common.php') 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) ? -- cgit v1.2.3-54-g00ecf