This repository has been archived by the owner on Apr 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.php.dist
84 lines (74 loc) · 2.7 KB
/
config.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
// config.php.dist
return array(
// enabled debugging (true) or disable it (false)
'debug' => false,
// Path where to store the files, you may want to use a dropbox folder
'dropbox_path' => '/home/myself/Dropbox',
// Configuration for accessing the Learnweb, use your ZIV account
'username' => 'u_user01',
'password' => 'supersecret',
// Here you can add lectures that use the course listing, only use single sign on URLs,
// so the URL must look like in the examples below, the dropbox_path will be prepended
// to the target folder
'learnwebcourses' => array(
array(
'source' => 'https://sso.uni-muenster.de/LearnWeb/learnweb2/course/view.php?id=123',
'target' => 'MyCourse'
),
// You may add further courses if you like
array(
'source' => '...',
'target' => '...',
// add the crackpdf key if you want to convert PDF files
'crackpdf' => '...',
// add clearnTarget if all content of the target folder shall be deleted first
'cleanTarget' => true
)
),
// Here you can add lectures that use the folder listing, only use single sign on URLs,
// so the URL must look like in the examples below, the dropbox_path will be prepended
// to the target folder
'learnwebfolders' => array(
array(
'source' => 'https://sso.uni-muenster.de/LearnWeb/learnweb2/mod/folder/view.php?id=123',
'target' => 'MyCourse/Slides'
),
// You may add further cuourses here, add a course for each folder
array(
'source' => '...',
'target' => 'MyCourse/CaseStudies',
'crackpdf' => '...'
)
),
// There is still support for uDoo courses, even though it is not used anymore
// You need to specify the URL of the course and the target folder where to store files
'udoo' => array(
array(
'source' => 'http://www.wi.uni-muenster.de/...',
'target' => 'MyUDooCourse',
'map' => array(
array(
'from' => 'Fallstudien',
'to' => '01 Fallstudien'
),
array(
'from' => 'Foliensaetze',
'to' => '02 Foliensaetze'
),
array(
'from' => 'Ohne_Kategoriezuordnung',
'to' => '99 Sonstiges'
)
)
)
),
// You man specify a custom pdf2ps command if you like, %1$s is the PDF passwort,
// %2$s is the source file (PDF file), %3$s is the target file (temporary PS file)
// simply remove this setting if you want to stick with the defaults
'pdf2PsCmd' => '/usr/bin/pdftops -upw %1$s %2$s %3$s',
// You man specify a custom ps2pdf command if you like, %1$s is the source file
// (temporary PS file) and %1$s is the target file (PDF file)
// simply remove this setting if you want to stick with the defaults
'ps2PdfCmd' => '/usr/bin/ps2pdf %1$s %1$s'
);