]> git.pld-linux.org Git - packages/lms.git/blame - lms-PLD.patch
- up to 1.9.5
[packages/lms.git] / lms-PLD.patch
CommitLineData
f38538d7 1--- lms/index.php-u 2005-06-15 22:48:13.000000000 +0200
2+++ lms/index.php 2005-06-15 22:53:52.000000000 +0200
69f435f9 3@@ -82,9 +82,9 @@
ab4f73d4 4 $CONFIG[$key] = $val;
82638c16 5
6 // Check for configuration vars and set default values
ab4f73d4
TO
7-$CONFIG['directories']['sys_dir'] = (!isset($CONFIG['directories']['sys_dir']) ? getcwd() : $CONFIG['directories']['sys_dir']);
8-$CONFIG['directories']['backup_dir'] = (!isset($CONFIG['directories']['backup_dir']) ? $CONFIG['directories']['sys_dir'].'/backups' : $CONFIG['directories']['backup_dir']);
bd7e35fb 9-$CONFIG['directories']['doc_dir'] = (!isset($CONFIG['directories']['doc_dir']) ? $CONFIG['directories']['sys_dir'].'/documents' : $CONFIG['directories']['doc_dir']);
ab4f73d4
TO
10+$CONFIG['directories']['sys_dir'] = (!isset($CONFIG['directories']['sys_dir']) ? '/usr/share/lms' : $CONFIG['directories']['sys_dir']);
11+$CONFIG['directories']['backup_dir'] = (!isset($CONFIG['directories']['backup_dir']) ? '/var/lib/lms/backups' : $CONFIG['directories']['backup_dir']);
bd7e35fb 12+$CONFIG['directories']['doc_dir'] = (!isset($CONFIG['directories']['doc_dir']) ? '/var/lib/lms/documents' : $CONFIG['directories']['doc_dir']);
ab4f73d4
TO
13 $CONFIG['directories']['lib_dir'] = (!isset($CONFIG['directories']['lib_dir']) ? $CONFIG['directories']['sys_dir'].'/lib' : $CONFIG['directories']['lib_dir']);
14 $CONFIG['directories']['modules_dir'] = (!isset($CONFIG['directories']['modules_dir']) ? $CONFIG['directories']['sys_dir'].'/modules' : $CONFIG['directories']['modules_dir']);
15 $CONFIG['directories']['config_templates_dir'] = (!isset($CONFIG['directories']['config_templates_dir']) ? $CONFIG['directories']['sys_dir'].'/config_templates' : $CONFIG['directories']['config_templates_dir']);
f38538d7 16--- lms/sample/lms.ini.orig 2005-05-13 13:36:19.000000000 +0200
17+++ lms/sample/lms.ini 2005-06-15 23:04:30.000000000 +0200
ab4f73d4 18@@ -268,7 +268,7 @@
c13f6a6e 19 ; index.php, graphics, templates and the rest. By default index.php seek in filesystem
20 ; using getcwd(), but better is to say him where hi is:
21
22-; sys_dir = /var/www/htdocs/lms/
f38538d7 23+; sys_dir = /usr/share/lms/www/
c13f6a6e 24
25 ; Directory with "modules" of LMS. That is content of /modules directory.
26 ; By default it is subdirectory modules in sys_dir
ab4f73d4 27@@ -285,7 +285,7 @@
c13f6a6e 28 ; If directory with backups will be accessible from WWW level, then anybody will
29 ; can to access them without authorization.
30
31-; backup_dir = /var/backup/lms/
ab4f73d4 32+; backup_dir = /var/lib/lms/backups/
c13f6a6e 33
ab4f73d4
TO
34 ; In that directory LMS will store uploaded documents (files).
35 ; By default it is subdirectory documents in sys_dir.
69f435f9 36@@ -298,7 +298,7 @@
c13f6a6e 37 ; Smarty's compilation directory. Place where Smarty compile templates.
38 ; By default it is subdirectory templates_c in sys_dir.
82638c16 39
c13f6a6e 40-; smarty_compile_dir = /var/smarty/compile/lms
f38538d7 41+; smarty_compile_dir = /var/lib/lms/templates_c
82638c16 42
c13f6a6e 43 ; Directory with Smarty's templates.
44 ; By default it is subdirectory templates in sys_dir.
This page took 0.079986 seconds and 4 git commands to generate.