MDL-31857basic phpunit support
Thanks Eloy Lafuente, Tim Hunt and Sam Hemelryk for valuable feedback and ideas.
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
if (!defined('MOODLE_INTERNAL')) {
|
||||
die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
|
||||
}
|
||||
|
||||
global $CFG;
|
||||
|
||||
require_once($CFG->libdir . '/csslib.php');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user