mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
44 lines
1.3 KiB
PHP
44 lines
1.3 KiB
PHP
<?php // $Id$
|
|
|
|
// This file is generally only included from upgrade_activity_modules()
|
|
// It defines default values for any important configuration variables
|
|
|
|
$defaults = array (
|
|
'quiz_review' => hexdec('ffffff'),
|
|
'quiz_attemptonlast' => 0,
|
|
'quiz_attempts' => 0,
|
|
'quiz_grademethod' => '',
|
|
'quiz_decimalpoints' => 2,
|
|
'quiz_maximumgrade' => 10,
|
|
'quiz_password' => '',
|
|
'quiz_popup' => 0,
|
|
'quiz_questionsperpage' => 0,
|
|
'quiz_shuffleanswers' => 1,
|
|
'quiz_shufflequestions' => 0,
|
|
'quiz_subnet' => '',
|
|
'quiz_timelimit' => 0,
|
|
'quiz_optionflags' => 1,
|
|
'quiz_penaltyscheme' => 1,
|
|
'quiz_adaptive' => QUIZ_ADAPTIVE,
|
|
|
|
'quiz_fix_review' => 0,
|
|
'quiz_fix_attemptonlast' => 0,
|
|
'quiz_fix_attempts' => 0,
|
|
'quiz_fix_grademethod' => 0,
|
|
'quiz_fix_decimalpoints' => 0,
|
|
'quiz_fix_password' => 0,
|
|
'quiz_fix_popup' => 0,
|
|
'quiz_fix_questionsperpage' => 0,
|
|
'quiz_fix_shuffleanswers' => 0,
|
|
'quiz_fix_shufflequestions' => 0,
|
|
'quiz_fix_subnet' => 0,
|
|
'quiz_fix_timelimit' => 0,
|
|
'quiz_fix_adaptive' => 0,
|
|
'quiz_fix_penaltyscheme' => 0,
|
|
'quiz_fix_delay1' => 0,
|
|
'quiz_fix_delay2' => 0,
|
|
'attemptuniqueid' => 0
|
|
);
|
|
|
|
?>
|