]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11845 Last checkin accidentally omitted a require_once (hopefully finally done...
authorsam_marshall <sam_marshall>
Fri, 7 Dec 2007 11:11:44 +0000 (11:11 +0000)
committersam_marshall <sam_marshall>
Fri, 7 Dec 2007 11:11:44 +0000 (11:11 +0000)
lib/componentlib.class.php

index b79214798fc9c2d5569c66d769525a77f2f119e8..e4e1758903aa2dee42ed5d4a6f8cd7e289cddb33 100644 (file)
 // 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);