Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f36324
)
MDL-29016 allow distributions to set dataroot permissions
author
Petr Skoda
<commits@skodak.org>
Sat, 20 Aug 2011 10:48:44 +0000
(12:48 +0200)
committer
Petr Skoda
<commits@skodak.org>
Sat, 20 Aug 2011 10:48:44 +0000
(12:48 +0200)
install.php
patch
|
blob
|
blame
|
history
diff --git
a/install.php
b/install.php
index
14b0665
..
eb7189f
100644
(file)
--- a/
install.php
+++ b/
install.php
@@
-169,7
+169,7
@@
$CFG->admin = $config->admin;
$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;