Permalink
Browse files

MDL-29016 allow distributions to set dataroot permissions

  • Loading branch information...
skodak authored and stronk7 committed Aug 20, 2011
1 parent 13c04d1 commit 9986fe8d0d5e9e5940d7f9d40f2f383481620339
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.php
View
@@ -157,7 +157,7 @@
$CFG->docroot = 'http://docs.moodle.org';
$CFG->langotherroot = $CFG->dataroot.'/lang';
$CFG->langlocalroot = $CFG->dataroot.'/lang';
$CFG->directorypermissions = 00777;
$CFG->directorypermissions = isset($distro->directorypermissions) ? $distro->directorypermissions : 00777; // let distros set dir permissions
$CFG->running_installer = true;
$CFG->early_install_lang = true;

0 comments on commit 9986fe8

Please sign in to comment.