MDL-79863 qtype_ordering: Moodle.2x qtype/ordering replace __DIR__ with dirname(__FILE__) for compatability with PHP 5.2

This commit is contained in:
Gordon Bateson 2013-07-29 15:29:43 +09:00 committed by Mathew May
parent 6319c85c94
commit ec11f84b84

View File

@ -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');
}
/**