Skip to content

Commit

Permalink
Default directory permissions of 02777 (for safe mode) are causing
Browse files Browse the repository at this point in the history
some problems for various people ... I'm putting it back to the default.
  • Loading branch information
moodler committed Feb 9, 2005
1 parent 730d1e9 commit 4b9efec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
$SESSION->lang = (!empty($_POST['language'])) ? $_POST['language'] : $INSTALL['language'];
$CFG->dirroot = $INSTALL['dirroot'];
$CFG->dataroot = $INSTALL['dataroot'];
$CFG->directorypermissions = 02777;
$CFG->directorypermissions = 00777;


/// Include some moodle libraries
Expand Down Expand Up @@ -306,7 +306,7 @@
$str .= '$CFG->admin = \''.$INSTALL['admindirname']."';\r\n";
$str .= "\r\n";

$str .= '$CFG->directorypermissions = 02777;'."\r\n";
$str .= '$CFG->directorypermissions = 00777;'."\r\n";
$str .= "\r\n";

$str .= 'require_once("$CFG->dirroot/lib/setup.php");'."\r\n";
Expand Down

0 comments on commit 4b9efec

Please sign in to comment.