; ; DO NOT DELETE THE ABOVE LINE!!! ; Doing so will expose this configuration file through your web site! ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; config.TEMPLATE.inc.php ; ; Copyright (c) 2013-2016 Simon Fraser University Library ; Copyright (c) 2003-2016 John Willinsky ; Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. ; ; OJS Configuration settings. ; Rename config.TEMPLATE.inc.php to config.inc.php to use. ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;; ; General Settings ; ;;;;;;;;;;;;;;;;;;;; [general] salt = aseciordiunawornqw89c42qn983479q8n9xw7ycrqn7teiuwqsnrq2c7rqw7irtxnwain ; Set this to On once the system has been installed ; (This is generally done automatically by the installer) installed = On ; The canonical URL to the OJS installation (excluding the trailing slash) base_url = "https://prod.mia-letum.ru" ; Path to the registry directory (containing various settings files) ; Although the files in this directory generally do not contain any ; sensitive information, the directory can be moved to a location that ; is not web-accessible if desired registry_dir = registry ; Session cookie name session_cookie_name = PROD_MIA-LETUM ; Number of days to save login cookie for if user selects to remember ; (set to 0 to force expiration at end of current session) session_lifetime = 30 ; Enable support for running scheduled tasks ; Set this to On if you have set up the scheduled tasks script to ; 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 ; Short and long date formats date_format_trunc = "%d.%m.%Y" date_format_short = "%d.%m.%Y" date_format_long = "%d.%m.%Y" datetime_format_short = "%d.%m.%Y %H:%M" datetime_format_long = "%d.%m.%Y - %H:%M" time_format = "%H:%M" date.timezone = "Europe/Moscow" ; Use URL parameters instead of CGI PATH_INFO. This is useful for ; broken server setups that don't support the PATH_INFO environment ; variable. Use of this mode is recommended as a last resort. disable_path_info = Off ; Use fopen(...) for URL-based reads. Modern versions of dspace ; will not accept requests using fopen, as it does not provide a ; User Agent, so this option is disabled by default. If this feature ; is disabled by PHP's configuration, this setting will be ignored. allow_url_fopen = On ; Base URL override settings: Entries like the following examples can ; be used to override the base URLs used by OJS. If you want to use a ; proxy to rewrite URLs to OJS, configure your proxy's URL here. ; Syntax: base_url[journal_path] = http://www.myUrl.com ; To override URLs that aren't part of a particular journal, use a ; journal_path of "index". ; Examples: base_url[test] = https://translate.mia-letum.ru/test ; 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 = On ; 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 ; Warning: This defaults to "On" if unset for backwards compatibility. trust_x_forwarded_for = On ; Allow javascript files to be served through a content delivery network (set to off to use local files) enable_cdn = On ; 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 = 10 ; Display a message on the site admin and journal manager user home pages if there is an upgrade available show_upgrade_warning = On ; Provide a unique site ID and OAI base URL to PKP for statistics and security ; alert purposes only. enable_beacon = On ;;;;;;;;;;;;;;;;;;;;; ; Database Settings ; ;;;;;;;;;;;;;;;;;;;;; [database] driver = mysqli host = localhost username = root password = Cerfvkz1@ name = rcsi_prod ; Enable persistent connections persistent = Off ; Enable database debug output (very verbose!) debug = Off ;;;;;;;;;;;;;;;;;; ; Cache Settings ; ;;;;;;;;;;;;;;;;;; [cache] ; Choose the type of object data caching to use. Options are: ; - memcache: Use the memcache server configured below ; - xcache: Use the xcache variable store ; - apc: Use the APC variable store ; - none: Use no caching. object_cache = memcache platform = prod ; Enable memcache support memcache_hostname = localhost memcache_port = 11211 ; For site visitors who are not logged in, many pages are often entirely ; static (e.g. About, the home page, etc). If the option below is enabled, ; these pages will be cached in local flat files for the number of hours ; specified in the web_cache_hours option. This will cut down on server ; overhead for many requests, but should be used with caution because: ; 1) Things like journal metadata changes will not be reflected in cached ; data until the cache expires or is cleared, and ; 2) This caching WILL NOT RESPECT DOMAIN-BASED SUBSCRIPTIONS. ; However, for situations like hosting high-volume open access journals, it's ; an easy way of decreasing server load. ; ; When using web_cache, configure a tool to periodically clear out cache files ; such as CRON. For example, configure it to run the following command: ; find .../ojs/cache -maxdepth 1 -name wc-\*.html -mtime +1 -exec rm "{}" ";" web_cache = Off web_cache_hours = 1 ;;;;;;;;;;;;;;;;;;;;;;;;; ; Localization Settings ; ;;;;;;;;;;;;;;;;;;;;;;;;; [i18n] ; Default locale locale = ru_RU ; Client output/input character set client_charset = utf-8 ; Database connection character set ; Must be set to "Off" if not supported by the database server ; If enabled, must be the same character set as "client_charset" ; (although the actual name may differ slightly depending on the server) connection_charset = utf8mb4 ; Database storage character set ; Must be set to "Off" if not supported by the database server database_charset = utf8mb4 ; Enable character normalization to utf-8 (recommended) ; If disabled, strings will be passed through in their native encoding ; Note that client_charset and database collation must be set ; to "utf-8" for this to work, as characters are stored in utf-8 charset_normalization = utf-8 ;;;;;;;;;;;;;;;;; ; File Settings ; ;;;;;;;;;;;;;;;;; [files] ; Complete path to directory to store uploaded files ; (This directory should not be directly web-accessible) ; Windows users should use forward slashes files_dir = /var/www/prod.mia-letum.ru/files ; Path to the directory to store public uploaded files ; (This directory should be web-accessible and the specified path ; should be relative to the base OJS directory) ; Windows users should use forward slashes public_files_dir = public ; Permissions mask for created files and directories umask = 0022 ;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Fileinfo (MIME) Settings ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;; [finfo] ; mime_database_path = /etc/magic.mime ;;;;;;;;;;;;;;;;;;;;; ; Security Settings ; ;;;;;;;;;;;;;;;;;;;;; [security] ; Force SSL connections site-wide force_ssl = On ; Force SSL connections for login only force_login_ssl = On ; 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). session_check_ip = Off ; The encryption (hashing) algorithm to use for encrypting user passwords ; Valid values are: md5, sha1 ; Note that sha1 requires PHP >= 4.3.0 encryption = sha1 ; The unique salt to use for generating password reset hashes salt = "p4ct85rm03wc4ctujmectu304kxsq34x53w4f83w4vjk" ; The number of seconds before a password reset hash expires (defaults to 7200 / 2 hours) reset_seconds = 7200 ; Allowed HTML tags for fields that permit restricted HTML. ; For PHP 5.0.5 and greater, allowed attributes must be specified individually ; e.g. to allow "src" and "alt" attributes. Unspecified ; attributes will be stripped. For PHP below 5.0.5 attributes may not be ; specified in this way. allowed_html = "