mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
MDL-17458 fixed lang selection in sessionless db installer
This commit is contained in:
parent
ae1eca1ca4
commit
08ff9f81db
@ -112,7 +112,7 @@
|
||||
print_heading(get_string('copyrightnotice'));
|
||||
print_box(text_to_html(get_string('gpl')), 'copyrightnotice');
|
||||
echo "<br />";
|
||||
notice_yesno(get_string('doyouagree'), "index.php?agreelicense=1",
|
||||
notice_yesno(get_string('doyouagree'), "index.php?agreelicense=1&lang=$CFG->lang",
|
||||
"http://docs.moodle.org/en/License");
|
||||
print_footer('none');
|
||||
exit;
|
||||
@ -123,7 +123,7 @@
|
||||
print_header($strcurrentrelease, $strcurrentrelease, $navigation, "", "", false, " ", " ");
|
||||
print_heading("Moodle $release");
|
||||
print_box(get_string('releasenoteslink', 'admin', 'http://docs.moodle.org/en/Release_Notes'), 'generalbox boxaligncenter boxwidthwide');
|
||||
print_continue('index.php?agreelicense=1&confirmrelease=1');
|
||||
print_continue("index.php?agreelicense=1&confirmrelease=1&lang=$CFG->lang");
|
||||
print_footer('none');
|
||||
die;
|
||||
}
|
||||
@ -331,7 +331,7 @@
|
||||
$sessionstarted = optional_param('sessionstarted', 0, PARAM_BOOL);
|
||||
if (!$sessionstarted) {
|
||||
// we neeed this redirect to setup proper session
|
||||
upgrade_log_finish('index.php?sessionstarted=1');
|
||||
upgrade_log_finish("index.php?sessionstarted=1&lang=$CFG->lang");
|
||||
}
|
||||
$adminuser = create_admin_user();
|
||||
$adminuser->newadminuser = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user