diff --git a/config.TEMPLATE.inc.php b/config.TEMPLATE.inc.php index e64400d380..c4199b732f 100644 --- a/config.TEMPLATE.inc.php +++ b/config.TEMPLATE.inc.php @@ -7,8 +7,8 @@ ; ; config.TEMPLATE.inc.php ; -; Copyright (c) 2014-2021 Simon Fraser University -; Copyright (c) 2003-2021 John Willinsky +; Copyright (c) 2014-2024 Simon Fraser University +; Copyright (c) 2003-2024 John Willinsky ; Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. ; ; OJS Configuration settings. @@ -51,6 +51,12 @@ ; execute periodically scheduled_tasks = Off +; Scheduled tasks will send email about processing +; only in case of errors. Set to off to receive +; all other kind of notification, including success, +; warnings and notices. +scheduled_tasks_report_error_only = On + ; Site time zone ; Please refer to lib/pkp/registry/timeZones.xml for a full list of supported ; time zones. @@ -88,7 +94,7 @@ ; base_url[myJournal] = http://www.myUrl.com/myJournal ; base_url[myOtherJournal] = http://myOtherJournal.myUrl.com -; Generate RESTful URLs using mod_rewrite. This requires the +; Generate RESTful URLs using mod_rewrite. This requires the ; rewrite directive to be enabled in your .htaccess or httpd.conf. ; See FAQ for more details. restful_urls = Off @@ -101,17 +107,11 @@ allowed_hosts = '' ; Allow the X_FORWARDED_FOR header to override the REMOTE_ADDR as the source IP -; Set this to "On" if you are behind a reverse proxy and you control the X_FORWARDED_FOR +; Set this to "On" if you are behind a reverse proxy and you control the +; X_FORWARDED_FOR header. ; Warning: This defaults to "On" if unset for backwards compatibility. trust_x_forwarded_for = Off -; Set the maximum number of citation checking processes that may run in parallel. -; Too high a value can increase server load and lead to too many parallel outgoing -; requests to citation checking web services. Too low a value can lead to significantly -; slower citation checking performance. A reasonable value is probably between 3 -; and 10. The more your connection bandwidth allows the better. -citation_checking_max_processes = 3 - ; Display a message on the site admin and journal manager user home pages if there is an upgrade available show_upgrade_warning = On @@ -230,10 +230,6 @@ ; Permissions mask for created files and directories umask = 0022 -; The minimum percentage similarity between filenames that should be considered -; a possible revision -filename_revision_match = 70 - ;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Fileinfo (MIME) Settings ; @@ -257,8 +253,9 @@ force_login_ssl = Off ; This check will invalidate a session if the user's IP address changes. -; Enabling this option provides some amount of additional security, but may -; cause problems for users behind a proxy farm (e.g., AOL). +; Enabling this option provides some additional security, but may cause +; login problems for some users (e.g. if a user IP is changed frequently +; by a server or network configuration). session_check_ip = On ; The encryption (hashing) algorithm to use for encrypting user passwords @@ -283,27 +280,8 @@ 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" ;Is implicit authentication enabled or not - ;implicit_auth = On -;Implicit Auth Header Variables - -;implicit_auth_header_first_name = HTTP_GIVENNAME -;implicit_auth_header_last_name = HTTP_SN -;implicit_auth_header_email = HTTP_MAIL -;implicit_auth_header_phone = HTTP_TELEPHONENUMBER -;implicit_auth_header_initials = HTTP_METADATA_INITIALS -;implicit_auth_header_mailing_address = HTTP_METADATA_HOMEPOSTALADDRESS -;implicit_auth_header_uin = HTTP_UID - -; A space delimited list of uins to make admin -;implicit_auth_admin_list = "jdoe@email.ca jshmo@email.ca" - -; URL of the implicit auth 'Way Finder' page. See pages/login/LoginHandler.inc.php for usage. - -;implicit_auth_wayf_url = "/Shibboleth.sso/wayf" - - ;;;;;;;;;;;;;;;;;; ; Email Settings ; @@ -336,6 +314,10 @@ ; smtp_oauth_clientsecret = ; smtp_oauth_refreshtoken = +; Enable suppressing verification of SMTP certificate in PHPMailer +; Note: this is not recommended per PHPMailer documentation +; smtp_suppress_cert_check = On + ; Allow envelope sender to be specified ; (may not be possible with some server configurations) ; allow_envelope_sender = Off @@ -376,7 +358,7 @@ ; If enabled, email addresses must be validated before login is possible. require_validation = Off -; Maximum number of days before an unvalidated account expires and is deleted +; The number of days a user has to validate their account before their access key expires. validation_timeout = 14 @@ -393,9 +375,6 @@ ; are fetched and merged to provide results for searches with several keywords. results_per_keyword = 500 -; The number of hours for which keyword search results are cached. -result_cache_hours = 1 - ; Paths to helper programs for indexing non-text files. ; Programs are assumed to output the converted text to stdout, and "%s" is ; replaced by the file argument. @@ -433,6 +412,7 @@ ; Maximum number of records per request to serve via OAI oai_max_records = 100 + ;;;;;;;;;;;;;;;;;;;;;; ; Interface Settings ; ;;;;;;;;;;;;;;;;;;;;;; @@ -478,9 +458,6 @@ ; Using full paths to the binaries is recommended. -; perl (used in paracite citation parser) -perl = /usr/bin/perl - ; tar (used in backup plugin, translation packaging) tar = /bin/tar @@ -492,6 +469,7 @@ ; /usr/bin/java -jar ~/java/xalan.jar -HTML -IN %xml -XSL %xsl xslt_command = "" + ;;;;;;;;;;;;;;;;;; ; Proxy Settings ; ;;;;;;;;;;;;;;;;;; @@ -522,8 +500,3 @@ ; Log web service request information for debugging log_web_service_info = Off - -; declare a cainfo path if a certificate other than PHP's default should be used for curl calls. -; This setting overrides the 'curl.cainfo' parameter of the php.ini configuration file. -[curl] -; cainfo = ""