mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'w03_MDL-31166_m23_clipath' of https://github.com/skodak/moodle
This commit is contained in:
commit
9208714315
@ -337,12 +337,7 @@ $CFG->httpswwwroot = $CFG->wwwroot;
|
||||
|
||||
|
||||
//We need dataroot before lang download
|
||||
$dataroot = clean_param($options['dataroot'], PARAM_PATH);
|
||||
if ($dataroot !== $options['dataroot']) {
|
||||
$a = (object)array('option' => 'dataroot', 'value' => $options['dataroot']);
|
||||
cli_error(get_string('cliincorrectvalueerror', 'admin', $a));
|
||||
}
|
||||
$CFG->dataroot = $dataroot;
|
||||
$CFG->dataroot = $options['dataroot'];
|
||||
if ($interactive) {
|
||||
cli_separator();
|
||||
$i=0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user