Permalink
Browse files

MDL-29016 allow distributions to set dataroot permissions

  • Loading branch information...
1 parent 5cfb119 commit c896d5c54df8adef8aee7645a53295bc9fa68066 @skodak skodak committed with stronk7 Aug 20, 2011
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 c896d5c

Please sign in to comment.