Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-29016 allow distributions to set dataroot permissions

  • Loading branch information...
commit 9986fe8d0d5e9e5940d7f9d40f2f383481620339 1 parent 13c04d1
@skodak skodak authored stronk7 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  install.php
View
2  install.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.