Skip to content

Commit

Permalink
MDL-24072 installer: initialize moodledata content even if the direct…
Browse files Browse the repository at this point in the history
…ory itself already exists
  • Loading branch information
mudrd8mz committed Sep 20, 2010
1 parent 807ee8b commit 1656452
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@
$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)) {
Expand Down

0 comments on commit 1656452

Please sign in to comment.