Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37786179
en ru br
Репозитории ALT
S:3.11.15-alt3
5.1: 1.9.16.20120217-alt3.M51.1
4.1: 1.9.2-alt1.cvs20080827.M41.3
4.0: 1.9.2-alt1.cvs20080827.M40.1
www.altlinux.org/Changes

Группа :: Сети/WWW
Пакет: moodle

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: moodle-alt-install-datadir-fix.patch
Скачать


 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']         = '';
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin