mirror of
https://github.com/moodle/moodle.git
synced 2025-05-02 14:28:30 +02:00
[MDL-25780] Fixed missing error string substitution
This commit is contained in:
parent
8cdc85ac62
commit
e92977d3de
@ -306,7 +306,7 @@ if ($config->stage == INSTALL_DOWNLOADLANG) {
|
||||
$a = new stdClass();
|
||||
$a->parent = dirname($CFG->dataroot);
|
||||
$a->dataroot = $CFG->dataroot;
|
||||
if (!is_writable(dirname($CFG->dataroot))) {
|
||||
if (!is_writable($a->parent)) {
|
||||
$hint_dataroot = get_string('pathsroparentdataroot', 'install', $a);
|
||||
$config->stage = INSTALL_PATHS;
|
||||
} else {
|
||||
@ -317,7 +317,7 @@ if ($config->stage == INSTALL_DOWNLOADLANG) {
|
||||
}
|
||||
|
||||
} else if (!install_init_dataroot($CFG->dataroot, $CFG->directorypermissions)) {
|
||||
$hint_dataroot = get_string('pathserrcreatedataroot', 'install', $a);
|
||||
$hint_dataroot = get_string('pathserrcreatedataroot', 'install', array('dataroot' => $CFG->dataroot));
|
||||
$config->stage = INSTALL_PATHS;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user