-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
executable file
·98 lines (65 loc) · 2.7 KB
/
config.php
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
; <?php exit(); // DO NOT DELETE ?>
[general]
host_name="www.yourserver.com"
base_path = "/reserves"
force_ssl = On
reserves_email = [email protected]
[database]
user = reserves
password = yourPassword
host = localhost
dbname = reserves
; we define a small set of IP addresses that we consider 'local' to the machine
; most of these are SSL virtualhosts that can't be NameVirtualHosted with Apache
[localhosts]
localhost[] = 127.0.0.1
[mobiledomains]
domain[] = m.yoursite.com
[ldap]
ldap_host = "ldap://ldap.yourserver.com"
administration_dn = "uid=something,dc=yourdomain.com"
administration_pass = "yourAdminPassword"
; PHP lower cases the array indexes when returning an LDAP object.
; If this isn't the case with your LDAP library, you can camel-caps these
student_course_field = studentcourse
instructor_course_field = instructorcourse
account_type_field = edupersonprimaryaffiliation
; define the contents of the account_type_field defined above
; for both types of user accounts. For us, it is either
; student or staff, assigned by ITS.
student_field_string = "student"
staff_field_string = "staff"
[template]
template_dir = "/full/path/reserves/templates"
template_cache = "/full/path/reserves/t_cache"
[session]
; set this parameter to a number, in seconds, to
; determine how long inactive users should remain logged in.
; 0 means until the browser closes
session_cookie_timeout = 0
[search]
search_type = mysql ; or solr
solr_url = http://localhost:8080/solr ; not implemented yet
[form]
use_submission_time_limits = Off
[assetstore]
; the permissions on the directory below needs to allow RW access for the web server user
; maintain the trailing slash, please
asset_dir = /full/path/reserves/assetstore/
max_upload_size = 100240000 ; 10Mb
; the creation and deletion of physical reserve items also affects the live OPAC, if you want
; if you want this, edit the settings below
[catalogue]
catalogue_integration = On ; or Off
controller_url = "https://your.opac.server.com/uhtbin/reserves/index.cgi"
controller_disable_ssl_verify = On ; or Off. Leave On if you sign your own certificate and use SSL
[bulk_reserves]
default_heading_title = "Readings" ; you can set this to whatever you'd like the default ItemHeading title to be, for bulk reserve creates
[worldcat]
wskey = YOURAPIKEY ; obviously, get this from OCLC for yourself.
[proxy]
prefix = "https://login.proxy.yoursite.com/login?url=" ; define the prefix to your proxy server, for off-campus access to electronic resources
doi_resolver = "http://resolver.yoursite.com?handle=" ; define prefix to DOI resolver
[reports]
; this directory stores the nightly or weekly generated reports for physical items in the catalogue
reports_dir = /www/reserves/reports/