ojs.config.inc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. ; <?php exit(); // DO NOT DELETE ?>
  2. ; DO NOT DELETE THE ABOVE LINE!!!
  3. ; Doing so will expose this configuration file through your web site!
  4. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  5. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  6. ;
  7. ; config.TEMPLATE.inc.php
  8. ;
  9. ; Copyright (c) 2014-2019 Simon Fraser University
  10. ; Copyright (c) 2003-2019 John Willinsky
  11. ; Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
  12. ;
  13. ; OJS Configuration settings.
  14. ; Rename config.TEMPLATE.inc.php to config.inc.php to use.
  15. ;
  16. ;
  17. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  18. ;;;;;;;;;;;;;;;;;;;;
  19. ; General Settings ;
  20. ;;;;;;;;;;;;;;;;;;;;
  21. [general]
  22. ; Set this to On once the system has been installed
  23. ; (This is generally done automatically by the installer)
  24. installed = On
  25. ; The canonical URL to the OJS installation (excluding the trailing slash)
  26. base_url = "https://www.maastikuarhitektuur.ee"
  27. ;base_url = "https://acta.odamus.com"
  28. ; Session cookie name
  29. session_cookie_name = OJSSID
  30. ; Session cookie path; if not specified, defaults to the detected base path
  31. ; session_cookie_path = /
  32. ; Number of days to save login cookie for if user selects to remember
  33. ; (set to 0 to force expiration at end of current session)
  34. session_lifetime = 30
  35. ; Enable support for running scheduled tasks
  36. ; Set this to On if you have set up the scheduled tasks script to
  37. ; execute periodically
  38. scheduled_tasks = Off
  39. ; Site time zone
  40. ; Please refer to lib/pkp/registry/timeZones.xml for a full list of supported
  41. ; time zones.
  42. ; I.e.:
  43. ; <entry key="Europe/Amsterdam" name="Amsterdam" />
  44. ; time_zone="Amsterdam"
  45. time_zone = "UTC"
  46. ; Short and long date formats
  47. date_format_trunc = "%m-%d"
  48. date_format_short = "%Y-%m-%d"
  49. date_format_long = "%B %e, %Y"
  50. datetime_format_short = "%Y-%m-%d %I:%M %p"
  51. datetime_format_long = "%B %e, %Y - %I:%M %p"
  52. time_format = "%I:%M %p"
  53. ; Use URL parameters instead of CGI PATH_INFO. This is useful for
  54. ; broken server setups that don't support the PATH_INFO environment
  55. ; variable.
  56. disable_path_info = Off
  57. ; Use fopen(...) for URL-based reads. Modern versions of dspace
  58. ; will not accept requests using fopen, as it does not provide a
  59. ; User Agent, so this option is disabled by default. If this feature
  60. ; is disabled by PHP's configuration, this setting will be ignored.
  61. allow_url_fopen = Off
  62. ; Base URL override settings: Entries like the following examples can
  63. ; be used to override the base URLs used by OJS. If you want to use a
  64. ; proxy to rewrite URLs to OJS, configure your proxy's URL here.
  65. ; Syntax: base_url[journal_path] = http://www.myUrl.com
  66. ; To override URLs that aren't part of a particular journal, use a
  67. ; journal_path of "index".
  68. ; Examples:
  69. ; base_url[index] = http://www.myUrl.com
  70. ; base_url[myJournal] = http://www.myUrl.com/myJournal
  71. ; base_url[myOtherJournal] = http://myOtherJournal.myUrl.com
  72. ; Generate RESTful URLs using mod_rewrite. This requires the
  73. ; rewrite directive to be enabled in your .htaccess or httpd.conf.
  74. ; See FAQ for more details.
  75. restful_urls = On
  76. ; Allow the X_FORWARDED_FOR header to override the REMOTE_ADDR as the source IP
  77. ; Set this to "On" if you are behind a reverse proxy and you control the X_FORWARDED_FOR
  78. ; Warning: This defaults to "On" if unset for backwards compatibility.
  79. trust_x_forwarded_for = Off
  80. ; Allow javascript files to be served through a content delivery network (set to off to use local files)
  81. enable_cdn = Off
  82. ; Set the maximum number of citation checking processes that may run in parallel.
  83. ; Too high a value can increase server load and lead to too many parallel outgoing
  84. ; requests to citation checking web services. Too low a value can lead to significantly
  85. ; slower citation checking performance. A reasonable value is probably between 3
  86. ; and 10. The more your connection bandwidth allows the better.
  87. citation_checking_max_processes = 3
  88. ; Display a message on the site admin and journal manager user home pages if there is an upgrade available
  89. show_upgrade_warning = On
  90. ; Set the following parameter to off if you want to work with the uncompiled (non-minified) JavaScript
  91. ; source for debugging or if you are working off a development branch without compiled JavaScript.
  92. enable_minified = On
  93. ; Provide a unique site ID and OAI base URL to PKP for statistics and security
  94. ; alert purposes only.
  95. enable_beacon = Off
  96. ; Set this to "On" if you would like to only have a single, site-wide Privacy
  97. ; Statement, rather than a separate Privacy Statement for each journal. Setting
  98. ; this to "Off" will allow you to enter a site-wide Privacy Statement as well
  99. ; as separate Privacy Statements for each journal.
  100. sitewide_privacy_statement = Off
  101. ;;;;;;;;;;;;;;;;;;;;;
  102. ; Database Settings ;
  103. ;;;;;;;;;;;;;;;;;;;;;
  104. [database]
  105. driver = mysqli
  106. host = node
  107. username = ojs_acta
  108. password = R36aVTUKgOWgawMRvSVqZ4LfYWswZc
  109. name = ojs_acta
  110. ; Set the non-standard port and/or socket, if used
  111. ; port = 3306
  112. ; unix_socket = /var/run/mysqld/mysqld.sock
  113. ; Enable persistent connections
  114. persistent = Off
  115. ; Enable database debug output (very verbose!)
  116. debug = Off
  117. ;;;;;;;;;;;;;;;;;;
  118. ; Cache Settings ;
  119. ;;;;;;;;;;;;;;;;;;
  120. [cache]
  121. ; Choose the type of object data caching to use. Options are:
  122. ; - memcache: Use the memcache server configured below
  123. ; - xcache: Use the xcache variable store
  124. ; - apc: Use the APC variable store
  125. ; - none: Use no caching.
  126. object_cache = none
  127. ; Enable memcache support
  128. memcache_hostname = localhost
  129. memcache_port = 11211
  130. ; For site visitors who are not logged in, many pages are often entirely
  131. ; static (e.g. About, the home page, etc). If the option below is enabled,
  132. ; these pages will be cached in local flat files for the number of hours
  133. ; specified in the web_cache_hours option. This will cut down on server
  134. ; overhead for many requests, but should be used with caution because:
  135. ; 1) Things like journal metadata changes will not be reflected in cached
  136. ; data until the cache expires or is cleared, and
  137. ; 2) This caching WILL NOT RESPECT DOMAIN-BASED SUBSCRIPTIONS.
  138. ; However, for situations like hosting high-volume open access journals, it's
  139. ; an easy way of decreasing server load.
  140. ;
  141. ; When using web_cache, configure a tool to periodically clear out cache files
  142. ; such as CRON. For example, configure it to run the following command:
  143. ; find .../ojs/cache -maxdepth 1 -name wc-\*.html -mtime +1 -exec rm "{}" ";"
  144. web_cache = Off
  145. web_cache_hours = 1
  146. ;;;;;;;;;;;;;;;;;;;;;;;;;
  147. ; Localization Settings ;
  148. ;;;;;;;;;;;;;;;;;;;;;;;;;
  149. [i18n]
  150. ; Default locale
  151. locale = en_US
  152. ; Client output/input character set
  153. client_charset = utf-8
  154. ; Database connection character set
  155. ; Must be set to "Off" if not supported by the database server
  156. ; If enabled, must be the same character set as "client_charset"
  157. ; (although the actual name may differ slightly depending on the server)
  158. connection_charset = utf8
  159. ; Database storage character set
  160. ; Must be set to "Off" if not supported by the database server
  161. database_charset = utf8
  162. ;;;;;;;;;;;;;;;;;
  163. ; File Settings ;
  164. ;;;;;;;;;;;;;;;;;
  165. [files]
  166. ; Complete path to directory to store uploaded files
  167. ; (This directory should not be directly web-accessible)
  168. ; Windows users should use forward slashes
  169. files_dir = /var/www/files
  170. ; Path to the directory to store public uploaded files
  171. ; (This directory should be web-accessible and the specified path
  172. ; should be relative to the base OJS directory)
  173. ; Windows users should use forward slashes
  174. public_files_dir = public
  175. ; Permissions mask for created files and directories
  176. umask = 0022
  177. ; The minimum percentage similarity between filenames that should be considered
  178. ; a possible revision
  179. filename_revision_match = 70
  180. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  181. ; Fileinfo (MIME) Settings ;
  182. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  183. [finfo]
  184. ; mime_database_path = /etc/magic.mime
  185. ;;;;;;;;;;;;;;;;;;;;;
  186. ; Security Settings ;
  187. ;;;;;;;;;;;;;;;;;;;;;
  188. [security]
  189. ; Force SSL connections site-wide
  190. force_ssl = On
  191. ; Force SSL connections for login only
  192. force_login_ssl = On
  193. ; This check will invalidate a session if the user's IP address changes.
  194. ; Enabling this option provides some amount of additional security, but may
  195. ; cause problems for users behind a proxy farm (e.g., AOL).
  196. session_check_ip = On
  197. ; The encryption (hashing) algorithm to use for encrypting user passwords
  198. ; Valid values are: md5, sha1
  199. ; NOTE: This hashing method is deprecated, but necessary to permit gradual
  200. ; migration of old password hashes.
  201. encryption = sha1
  202. ; The unique salt to use for generating password reset hashes
  203. salt = "hCNUqKWbPDbFnYcLTpVQHE5YXqWklC"
  204. ; The unique secret used for encoding and decoding API keys
  205. api_key_secret = "j32VIm6QTOvTMnZ1YF4DpJRV07wQhR"
  206. ; The number of seconds before a password reset hash expires (defaults to 7200 / 2 hours)
  207. reset_seconds = 7200
  208. ; Allowed HTML tags for fields that permit restricted HTML.
  209. ; Use e.g. "img[src,alt],p" to allow "src" and "alt" attributes to the "img"
  210. ; tag, and also to permit the "p" paragraph tag. Unspecified attributes will be
  211. ; stripped.
  212. allowed_html = "a[href|target|title],em,strong,cite,code,ul,ol,li[class],dl,dt,dd,b,i,u,img[src|alt],sup,sub,br,p"
  213. ;Is implicit authentication enabled or not
  214. ;implicit_auth = On
  215. ;Implicit Auth Header Variables
  216. ;implicit_auth_header_first_name = HTTP_GIVENNAME
  217. ;implicit_auth_header_last_name = HTTP_SN
  218. ;implicit_auth_header_email = HTTP_MAIL
  219. ;implicit_auth_header_phone = HTTP_TELEPHONENUMBER
  220. ;implicit_auth_header_initials = HTTP_METADATA_INITIALS
  221. ;implicit_auth_header_mailing_address = HTTP_METADATA_HOMEPOSTALADDRESS
  222. ;implicit_auth_header_uin = HTTP_UID
  223. ; A space delimited list of uins to make admin
  224. ;implicit_auth_admin_list = "jdoe@email.ca jshmo@email.ca"
  225. ; URL of the implicit auth 'Way Finder' page. See pages/login/LoginHandler.inc.php for usage.
  226. ;implicit_auth_wayf_url = "/Shibboleth.sso/wayf"
  227. ;;;;;;;;;;;;;;;;;;
  228. ; Email Settings ;
  229. ;;;;;;;;;;;;;;;;;;
  230. [email]
  231. ; Use SMTP for sending mail instead of mail()
  232. ; smtp = On
  233. ;smtp = On
  234. ;smtp_server = smtp.gmail.com
  235. ;smtp_username = "architecturaenaturalis@gmail.com"
  236. ;smtp_password = "Arhitektuuronilus?"
  237. ;smtp_port = 465
  238. ;smtp_auth = ssl
  239. ;forced_from_address = architecturaenaturalis@gmail.com
  240. ;allow_envelope_sender = On
  241. ;default_envelope_sender = architecturaenaturalis@gmail.com
  242. ;force_default_envelope_sender = On
  243. smtp = On
  244. smtp_server = mail.odamus.com
  245. smtp_port = 587
  246. smtp_auth = tls
  247. smtp_username = bounce@odamus.com
  248. smtp_password = xbUAST4ePTom74LYoE2a
  249. ;forced_from_address = no-reply@odamus.com
  250. forced_from_name = "Acta Architecturae Naturalis"
  251. allow_envelope_sender = On
  252. default_envelope_sender = bounce@odamus.com
  253. force_default_envelope_sender = On
  254. ; SMTP server settings
  255. ; smtp_server = mail.example.com
  256. ; smtp_port = 25
  257. ; Enable SMTP authentication
  258. ; Supported mechanisms: ssl, tls
  259. ; smtp_auth = ssl
  260. ; smtp_username = username
  261. ; smtp_password = password
  262. ; Allow envelope sender to be specified
  263. ; (may not be possible with some server configurations)
  264. ; allow_envelope_sender = Off
  265. ; Default envelope sender to use if none is specified elsewhere
  266. ; default_envelope_sender = my_address@my_host.com
  267. ; Force the default envelope sender (if present)
  268. ; This is useful if setting up a site-wide no-reply address
  269. ; The reply-to field will be set with the reply-to or from address.
  270. ; force_default_envelope_sender = Off
  271. ; Force a DMARC compliant from header (RFC5322.From)
  272. ; If any of your users have email addresses in domains not under your control
  273. ; you may need to set this to be compliant with DMARC policies published by
  274. ; those 3rd party domains.
  275. ; Setting this will move the users address into the reply-to field and the
  276. ; from field wil be rewritten with the default_envelope_sender.
  277. ; To use this you must set force_default_enveloper_sender = On and
  278. ; default_envelope_sender must be set to a valid address in a domain you own.
  279. ; force_dmarc_compliant_from = Off
  280. ; The display name to use with a DMARC compliant from header
  281. ; By default the DMARC compliant from will have an empty name but this can
  282. ; be changed by adding a text here.
  283. ; You can use '%n' to insert the users name from the original from header
  284. ; and '%s' to insert the localized sitename.
  285. ; dmarc_compliant_from_displayname = '%n via %s'
  286. ; Amount of time required between attempts to send non-editorial emails
  287. ; in seconds. This can be used to help prevent email relaying via OJS.
  288. time_between_emails = 3600
  289. ; Maximum number of recipients that can be included in a single email
  290. ; (either as To:, Cc:, or Bcc: addresses) for a non-privileged user
  291. max_recipients = 10
  292. ; If enabled, email addresses must be validated before login is possible.
  293. require_validation = Off
  294. ; Maximum number of days before an unvalidated account expires and is deleted
  295. validation_timeout = 14
  296. ;;;;;;;;;;;;;;;;;;;
  297. ; Search Settings ;
  298. ;;;;;;;;;;;;;;;;;;;
  299. [search]
  300. ; Minimum indexed word length
  301. min_word_length = 3
  302. ; The maximum number of search results fetched per keyword. These results
  303. ; are fetched and merged to provide results for searches with several keywords.
  304. results_per_keyword = 500
  305. ; The number of hours for which keyword search results are cached.
  306. result_cache_hours = 1
  307. ; Paths to helper programs for indexing non-text files.
  308. ; Programs are assumed to output the converted text to stdout, and "%s" is
  309. ; replaced by the file argument.
  310. ; Note that using full paths to the binaries is recommended.
  311. ; Uncomment applicable lines to enable (at most one per file type).
  312. ; Additional "index[MIME_TYPE]" lines can be added for any mime type to be
  313. ; indexed.
  314. ; PDF
  315. ; index[application/pdf] = "/usr/bin/pstotext -enc UTF-8 -nopgbrk %s - | /usr/bin/tr '[:cntrl:]' ' '"
  316. ; index[application/pdf] = "/usr/bin/pdftotext -enc UTF-8 -nopgbrk %s - | /usr/bin/tr '[:cntrl:]' ' '"
  317. ; PostScript
  318. ; index[application/postscript] = "/usr/bin/pstotext -enc UTF-8 -nopgbrk %s - | /usr/bin/tr '[:cntrl:]' ' '"
  319. ; index[application/postscript] = "/usr/bin/ps2ascii %s | /usr/bin/tr '[:cntrl:]' ' '"
  320. ; Microsoft Word
  321. ; index[application/msword] = "/usr/bin/antiword %s"
  322. ; index[application/msword] = "/usr/bin/catdoc %s"
  323. ;;;;;;;;;;;;;;;;
  324. ; OAI Settings ;
  325. ;;;;;;;;;;;;;;;;
  326. [oai]
  327. ; Enable OAI front-end to the site
  328. oai = On
  329. ; OAI Repository identifier
  330. repository_id =
  331. ; Maximum number of records per request to serve via OAI
  332. oai_max_records = 100
  333. ;;;;;;;;;;;;;;;;;;;;;;
  334. ; Interface Settings ;
  335. ;;;;;;;;;;;;;;;;;;;;;;
  336. [interface]
  337. ; Number of items to display per page; can be overridden on a per-journal basis
  338. items_per_page = 25
  339. ; Number of page links to display; can be overridden on a per-journal basis
  340. page_links = 10
  341. ;;;;;;;;;;;;;;;;;;;;
  342. ; Captcha Settings ;
  343. ;;;;;;;;;;;;;;;;;;;;
  344. [captcha]
  345. ; Whether or not to enable ReCaptcha
  346. recaptcha = off
  347. ; Public key for reCaptcha (see http://www.google.com/recaptcha)
  348. recaptcha_public_key = your_public_key
  349. ; Private key for reCaptcha (see http://www.google.com/recaptcha)
  350. recaptcha_private_key = your_private_key
  351. ; Whether or not to use Captcha on user registration
  352. captcha_on_register = on
  353. ;;;;;;;;;;;;;;;;;;;;;
  354. ; External Commands ;
  355. ;;;;;;;;;;;;;;;;;;;;;
  356. [cli]
  357. ; These are paths to (optional) external binaries used in
  358. ; certain plug-ins or advanced program features.
  359. ; Using full paths to the binaries is recommended.
  360. ; perl (used in paracite citation parser)
  361. perl = /usr/bin/perl
  362. ; tar (used in backup plugin, translation packaging)
  363. tar = /bin/tar
  364. ; On systems that do not have libxsl/xslt libraries installed, or for those who
  365. ; require a specific XSLT processor, you may enter the complete path to the
  366. ; XSLT renderer tool, with any required arguments. Use %xsl to substitute the
  367. ; location of the XSL stylesheet file, and %xml for the location of the XML
  368. ; source file; eg:
  369. ; /usr/bin/java -jar ~/java/xalan.jar -HTML -IN %xml -XSL %xsl
  370. xslt_command = ""
  371. ;;;;;;;;;;;;;;;;;;
  372. ; Proxy Settings ;
  373. ;;;;;;;;;;;;;;;;;;
  374. [proxy]
  375. ; Note that allow_url_fopen must be set to Off before these proxy settings
  376. ; will take effect.
  377. ; The HTTP proxy configuration to use
  378. ; http_host = localhost
  379. ; http_port = 80
  380. ; proxy_username = username
  381. ; proxy_password = password
  382. ;;;;;;;;;;;;;;;;;;
  383. ; Debug Settings ;
  384. ;;;;;;;;;;;;;;;;;;
  385. [debug]
  386. ; Display a stack trace when a fatal error occurs.
  387. ; Note that this may expose private information and should be disabled
  388. ; for any production system.
  389. show_stacktrace = Off
  390. ; Display an error message when something goes wrong.
  391. display_errors = Off
  392. ; Display deprecation warnings
  393. deprecation_warnings = Off
  394. ; Log web service request information for debugging
  395. log_web_service_info = Off