diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-09 06:52:39 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-09 06:52:39 -0500 |
commit | 12d7c30ef79c5ad84b7bac5e4863db3ce4e23621 (patch) | |
tree | 4b14a0d29a3083355fcdaf3769184fbc7e73e267 | |
parent | b1f9dec20e0a6c9c25fe873bffa81e632f2fc146 (diff) |
Add event.php before config.php is called
-rw-r--r-- | lib/common.php | 5 |
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) ? |