Skip to content
Browse files

Merge branch 'w03_MDL-31166_m22_clipath' of https://github.com/skodak…

…/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents ec9cd69 + 45d88e5 commit 0a52c0d63d2f8fba0aa6810fdf201699c5356151 @nebgor nebgor committed Jan 16, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 admin/cli/install.php
View
7 admin/cli/install.php
@@ -337,12 +337,7 @@
//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;

0 comments on commit 0a52c0d

Please sign in to comment.
Something went wrong with that request. Please try again.