Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-29016 allow distributions to set dataroot permissions

  • Loading branch information...
commit c896d5c54df8adef8aee7645a53295bc9fa68066 1 parent 5cfb119
@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.