Open Journal Systems  3.3.0
config.pgsql.inc.php
1 [database]
2 driver = pgsql
3 host = localhost
4 username = ojs
5 password = ojs
6 name = ojs
7 
8 persistent = On
9 debug = Off
10 
11 [general]
12 installed = On
13 base_url = "http://pkp.sfu.ca/ojs"
14 session_cookie_name = OJSSID
15 session_lifetime = 30
16 scheduled_tasks = Off
17 
18 date_format_trunc = "%m-%d"
19 date_format_short = "%Y-%m-%d"
20 date_format_long = "%B %e, %Y"
21 datetime_format_short = "%Y-%m-%d %I:%M %p"
22 datetime_format_long = "%B %e, %Y - %I:%M %p"
23 
24 disable_path_info = Off
25 
26 ; base_url[index] = http://www.myUrl.com
27 ; base_url[myJournal] = http://www.myUrl.com/myJournal
28 ; base_url[myOtherJournal] = http://myOtherJournal.myUrl.com
29 
30 [cache]
31 cache = file
32 memcache_hostname = localhost
33 memcache_port = 11211
34 web_cache = Off
35 web_cache_hours = 1
36 
37 [i18n]
38 locale = en_US
39 client_charset = utf-8
40 connection_charset = utf8
41 
42 [files]
43 files_dir = files
44 public_files_dir = public
45 umask = 0022
46 
47 [finfo]
48 mime_database_path = /etc/magic.mime
49 
50 [security]
51 force_ssl = Off
52 force_login_ssl = Off
53 session_check_ip = On
54 encryption = md5
55 allowed_html = "<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <i> <u> <img> <sup> <sub> <br> <p>"
56 ;implicit_auth = On
57 ;implicit_auth_header_first_name = HTTP_TDL_GIVENNAME
58 ;implicit_auth_header_last_name = HTTP_TDL_SN
59 ;implicit_auth_header_email = HTTP_TDL_MAIL
60 ;implicit_auth_header_phone = HTTP_TDL_TELEPHONENUMBER
61 ;implicit_auth_header_initials = HTTP_TDL_METADATA_INITIALS
62 ;implicit_auth_header_mailing_address = HTTP_TDL_METADATA_TDLHOMEPOSTALADDRESS
63 ;implicit_auth_header_uin = HTTP_TDL_TDLUID
64 ;implicit_auth_admin_list = "100000040@tdl.org 85B7FA892DAA90F7@utexas.edu 100000012@tdl.org"
65 ;implicit_auth_wayf_url = "/Shibboleth.sso/wayf"
66 
67 [email]
68 ; smtp = On
69 ; smtp_server = mail.example.com
70 ; smtp_port = 25
71 ; smtp_auth = PLAIN
72 ; smtp_username = username
73 ; smtp_password = password
74 ; allow_envelope_sender = Off
75 ; default_envelope_sender = my_address@my_host.com
76 time_between_emails = 3600
77 max_recipients = 10
78 require_validation = Off
79 validation_timeout = 14
80 display_errors = On
81 
82 [search]
83 min_word_length = 3
84 results_per_keyword = 500
85 result_cache_hours = 1
86 ; index[application/pdf] = "/usr/bin/pstotext %s"
87 ; index[application/pdf] = "/usr/bin/pdftotext %s -"
88 ; index[application/postscript] = "/usr/bin/pstotext %s"
89 ; index[application/postscript] = "/usr/bin/ps2ascii %s"
90 ; index[application/msword] = "/usr/bin/antiword %s"
91 ; index[application/msword] = "/usr/bin/catdoc %s"
92 
93 [oai]
94 oai = On
95 repository_id = ojs.pkp.sfu.ca
96 
97 [interface]
98 items_per_page = 25
99 page_links = 10
100 
101 [captcha]
102 captcha = off
103 captcha_on_register = on
104 captcha_on_comments = on
105 font_location = /usr/share/fonts/truetype/freefont/FreeSerif.ttf
106 
107 [proxy]
108 ; http_host = localhost
109 ; http_port = 80
110 ; proxy_username = username
111 ; proxy_password = password
112 
113 [debug]
114 show_stacktrace = On
i18n
Provides methods for loading localized country name data.