From 1be64f767b48d7f9f13f449cb9116c4911de903d Mon Sep 17 00:00:00 2001 From: sam_marshall <sam_marshall> Date: Fri, 7 Dec 2007 11:11:44 +0000 Subject: [PATCH] MDL-11845 Last checkin accidentally omitted a require_once (hopefully finally done now!!) --- lib/componentlib.class.php | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5