Merge branch 'w03_MDL-31166_m23_clipath' of https://github.com/skodak/moodle

This commit is contained in:
Aparup Banerjee 2012-01-16 14:52:23 +08:00
commit 9208714315

View File

@ -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;