From: Evan Prodromou Date: Mon, 9 Feb 2009 11:52:39 +0000 (-0500) Subject: Add event.php before config.php is called X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=12d7c30ef79c5ad84b7bac5e4863db3ce4e23621;p=quix0rs-gnu-social.git Add event.php before config.php is called --- diff --git a/lib/common.php b/lib/common.php index 5b4e3c40c8..7d3ec108ca 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) ?