From: sam_marshall Date: Fri, 7 Dec 2007 11:11:44 +0000 (+0000) Subject: MDL-11845 Last checkin accidentally omitted a require_once (hopefully finally done... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1be64f767b48d7f9f13f449cb9116c4911de903d;p=moodle.git MDL-11845 Last checkin accidentally omitted a require_once (hopefully finally done now!!) --- diff --git a/lib/componentlib.class.php b/lib/componentlib.class.php index b79214798f..e4e1758903 100644 --- a/lib/componentlib.class.php +++ b/lib/componentlib.class.php @@ -124,6 +124,8 @@ // error to be retrieved by one standard get_string() call against the error.php lang file. // // That's all! +global $CFG; +require_once($CFG->libdir.'/filelib.php'); // Some needed constants define('ERROR', 0);