ALT Linux repositórios
S: | 3.11.15-alt3 |
5.0: | 1.9.3-alt2.cvs20081210 |
4.1: | 1.9.2-alt1.cvs20080827.M41.3 |
4.0: | 1.9.2-alt1.cvs20080827.M40.1 |
Group :: Rede/WWW
RPM: moodle
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: moodle-alt-install-datadir-fix.patch
Download
Download
install.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/install.php b/install.php
index 1cf9f33..73cae78 100644
--- a/install.php
+++ b/install.php
@@ -66,12 +66,12 @@ if ( empty($INSTALL['language']) and empty($_POST['language']) ) {
$INSTALL['downloadlangpack'] = false;
$INSTALL['showdownloadlangpack'] = true;
$INSTALL['downloadlangpackerror'] = '';
- $INSTALL['directorypermissions'] = 00777;
+ $INSTALL['directorypermissions'] = 02770; // For ALT Linux
/// To be used by the Installer
- $INSTALL['wwwroot'] = '';
+ $INSTALL['wwwroot'] = '%webserver_datadir'; // For ALT Linux
$INSTALL['dirroot'] = dirname(__FILE__);
- $INSTALL['dataroot'] = dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'moodledata';
+ $INSTALL['dataroot'] = '%moodle_datadir'; // For ALT Linux
/// To be configured in the Installer
$INSTALL['wwwrootform'] = '';