mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-79863 qtype_ordering: Moodle.2x qtype/ordering replace __DIR__ with dirname(__FILE__) for compatability with PHP 5.2
This commit is contained in:
parent
6319c85c94
commit
ec11f84b84
@ -30,7 +30,7 @@ if (class_exists('question_type')) {
|
||||
$register_questiontype = false;
|
||||
} else {
|
||||
$register_questiontype = true; // Moodle 2.0
|
||||
require_once(__DIR__.'/legacy/20.php');
|
||||
require_once(dirname(__FILE__).'/legacy/20.php');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user