mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 11:46:19 +01:00
MDL-24072 installer: initialize moodledata content even if the directory itself already exists
This commit is contained in:
parent
807ee8bcd9
commit
1656452410
@ -315,6 +315,10 @@ if ($config->stage == INSTALL_DOWNLOADLANG) {
|
||||
$config->stage = INSTALL_PATHS;
|
||||
}
|
||||
}
|
||||
|
||||
} else if (!install_init_dataroot($CFG->dataroot, $CFG->directorypermissions)) {
|
||||
$hint_dataroot = get_string('pathserrcreatedataroot', 'install', $a);
|
||||
$config->stage = INSTALL_PATHS;
|
||||
}
|
||||
|
||||
if (empty($hint_dataroot) and !is_writable($CFG->dataroot)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user