config.TEMPLATE.inc.php

00001 ; <?php exit(); // DO NOT DELETE ?>
00002 ; DO NOT DELETE THE ABOVE LINE!!!
00003 ; Doing so will expose this configuration file through your web site!
00004 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
00005 
00006 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
00007 ;
00008 ; config.TEMPLATE.inc.php
00009 ;
00010 ; Copyright (c) 2000-2012 John Willinsky
00011 ; Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
00012 ;
00013 ; OCS Configuration settings.
00014 ; Rename config.TEMPLATE.inc.php to config.inc.php to use.
00015 ;
00016 ; $Id$
00017 ;
00018 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
00019 
00020 
00021 ;;;;;;;;;;;;;;;;;;;;
00022 ; General Settings ;
00023 ;;;;;;;;;;;;;;;;;;;;
00024 
00025 [general]
00026 
00027 ; Set this to On once the system has been installed
00028 ; (This is generally done automatically by the installer)
00029 installed = Off
00030 
00031 ; The canonical URL to the OCS installation (excluding the trailing slash)
00032 base_url = "http://pkp.sfu.ca/ocs"
00033 
00034 ; Path to the registry directory (containing various settings files)
00035 ; Although the files in this directory generally do not contain any
00036 ; sensitive information, the directory can be moved to a location that
00037 ; is not web-accessible if desired
00038 registry_dir = registry
00039 
00040 ; Session cookie name
00041 session_cookie_name = OCSSID
00042 
00043 ; Number of days to save login cookie for if user selects to remember
00044 ; (set to 0 to force expiration at end of current session)
00045 session_lifetime = 30
00046 
00047 ; Enable support for running scheduled tasks
00048 ; Set this to On if you have set up the scheduled tasks script to
00049 ; execute periodically
00050 scheduled_tasks = Off
00051 
00052 ; Short and long date formats
00053 date_format_trunc = "%m-%d"
00054 date_format_short = "%Y-%m-%d"
00055 date_format_long = "%B %e, %Y"
00056 datetime_format_short = "%Y-%m-%d %I:%M %p"
00057 datetime_format_long = "%B %e, %Y - %I:%M %p"
00058 time_format = "%I:%M %p"
00059 
00060 ; Use URL parameters instead of CGI PATH_INFO. This is useful for
00061 ; broken server setups that don't support the PATH_INFO environment
00062 ; variable.
00063 disable_path_info = Off
00064 
00065 ; Use fopen(...) for URL-based reads. Modern versions of dspace
00066 ; will not accept requests using fopen, as it does not provide a
00067 ; User Agent, so this option is disabled by default. If this feature
00068 ; is disabled by PHP's configuration, this setting will be ignored.
00069 allow_url_fopen = Off
00070 
00071 ; Base URL override settings: Entries like the following examples can
00072 ; be used to override the base URLs used by OCS. If you want to use a
00073 ; proxy to rewrite URLs to OCS, configure your proxy's URL here.
00074 ; Syntax: base_url[conference_path] = http://www.myUrl.com
00075 ; To override URLs that aren't part of a particular conference, use a
00076 ; conference_path of "index".
00077 ; Examples:
00078 ; base_url[index] = http://www.myUrl.com
00079 ; base_url[myConference] = http://www.myUrl.com/myConference
00080 ; base_url[myOtherConference] = http://myOtherConference.myUrl.com
00081 
00082 ; Generate RESTful URLs using mod_rewrite.  This requires the
00083 ; rewrite directive to be enabled in your .htaccess or httpd.conf.
00084 ; See FAQ for more details.
00085 restful_urls = Off
00086 
00087 ; Allow javascript files to be served through a content delivery network (set to off to use local files)
00088 enable_cdn = On
00089 
00090 ;;;;;;;;;;;;;;;;;;;;;
00091 ; Database Settings ;
00092 ;;;;;;;;;;;;;;;;;;;;;
00093 
00094 [database]
00095 
00096 driver = mysql
00097 host = localhost
00098 username = ocs
00099 password = ocs
00100 name = ocs
00101 
00102 ; Enable persistent connections (recommended)
00103 persistent = On
00104 
00105 ; Enable database debug output (very verbose!)
00106 debug = Off
00107 
00108 ;;;;;;;;;;;;;;;;;;
00109 ; Cache Settings ;
00110 ;;;;;;;;;;;;;;;;;;
00111 
00112 [cache]
00113 
00114 ; The type of data caching to use. Options are:
00115 ; - memcache: Use the memcache server configured below
00116 ; - file: Use file-based caching; configured below
00117 ; - none: Use no caching. This may be extremely slow.
00118 ; This setting affects locale data, conference settings, and plugin settings.
00119 cache = file
00120 
00121 ; Choose the type of object data caching to use. Options are:
00122 ; - memcache: Use the memcache server configured below
00123 ; - xcache: Use the xcache variable store
00124 ; - apc: Use the APC variable store
00125 ; - none: Use no caching.
00126 object_cache = none
00127 
00128 ; Enable memcache support
00129 memcache_hostname = localhost
00130 memcache_port = 11211
00131 
00132 ;;;;;;;;;;;;;;;;;;;;;;;;;
00133 ; Localization Settings ;
00134 ;;;;;;;;;;;;;;;;;;;;;;;;;
00135 
00136 [i18n]
00137 
00138 ; Default locale
00139 locale = en_US
00140 
00141 ; Client output/input character set
00142 client_charset = utf-8
00143 
00144 ; Database connection character set
00145 ; Must be set to "Off" if not supported by the database server
00146 ; If enabled, must be the same character set as "client_charset"
00147 ; (although the actual name may differ slightly depending on the server)
00148 connection_charset = Off
00149 
00150 ; Database storage character set
00151 ; Must be set to "Off" if not supported by the database server
00152 database_charset = Off
00153 
00154 ; Enable character normalization to utf-8 (recommended)
00155 ; If disabled, strings will be passed through in their native encoding
00156 ; Note that client_charset and database collation must be set
00157 ; to "utf-8" for this to work, as characters are stored in utf-8
00158 charset_normalization = On
00159 
00160 ; Default time zone
00161 ; default_timezone =
00162 
00163 ;;;;;;;;;;;;;;;;;
00164 ; File Settings ;
00165 ;;;;;;;;;;;;;;;;;
00166 
00167 [files]
00168 
00169 ; Complete path to directory to store uploaded files
00170 ; (This directory should not be directly web-accessible)
00171 files_dir = files
00172 
00173 ; Path to the directory to store public uploaded files
00174 ; (This directory should be web-accessible and the specified path
00175 ; should be relative to the base OCS directory)
00176 public_files_dir = public
00177 
00178 ; Permissions mask for created files and directories
00179 umask = 0022
00180 
00181 
00182 ;;;;;;;;;;;;;;;;;;;;;
00183 ; Security Settings ;
00184 ;;;;;;;;;;;;;;;;;;;;;
00185 
00186 [security]
00187 
00188 ; Force SSL connections site-wide
00189 force_ssl = Off
00190 
00191 ; Force SSL connections for login only
00192 force_login_ssl = Off
00193 
00194 ; This check will invalidate a session if the user's IP address changes.
00195 ; Enabling this option provides some amount of additional security, but may
00196 ; cause problems for users behind a proxy farm (e.g., AOL).
00197 session_check_ip = On
00198 
00199 ; The encryption (hashing) algorithm to use for encrypting user passwords
00200 ; Valid values are: md5, sha1
00201 ; Note that sha1 requires PHP >= 4.3.0
00202 encryption = md5
00203 
00204 ; Allowed HTML tags for fields that permit restricted HTML.
00205 ; For PHP 5.0.5 and greater, allowed attributes must be specified individually
00206 ; e.g. <img src|alt> to allow "src" and "alt" attributes. Unspecified
00207 ; attributes will be stripped. For PHP below 5.0.5 attributes may not be
00208 ; specified in this way.
00209 allowed_html = "<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <i> <u> <img src|alt> <sup> <sub> <br> <p>"
00210 
00211 ; Prevent VIM from attempting to highlight the rest of the config file
00212 ; with unclosed tags:
00213 ; </p></sub></sup></u></i></b></dd></dt></dl></li></ol></ul></code></cite></strong></em></a>
00214 
00215 
00216 ;;;;;;;;;;;;;;;;;;
00217 ; Email Settings ;
00218 ;;;;;;;;;;;;;;;;;;
00219 
00220 [email]
00221 
00222 ; Use SMTP for sending mail instead of mail()
00223 ; smtp = On
00224 
00225 ; SMTP server settings
00226 ; smtp_server = mail.example.com
00227 ; smtp_port = 25
00228 
00229 ; Enable SMTP authentication
00230 ; Supported mechanisms: PLAIN, LOGIN, CRAM-MD5, and DIGEST-MD5
00231 ; smtp_auth = PLAIN
00232 ; smtp_username = username
00233 ; smtp_password = password
00234 
00235 ; Allow envelope sender to be specified
00236 ; (may not be possible with some server configurations)
00237 ; allow_envelope_sender = Off
00238 
00239 ; Enable attachments in the various "Send Email" pages.
00240 ; (Disabling here will not disable attachments on features that
00241 ; require them, e.g. attachment-based reviews)
00242 enable_attachments = On
00243 
00244 ; Amount of time required between attempts to send non-editorial emails
00245 ; in seconds. This can be used to help prevent email relaying via OCS.
00246 time_between_emails = 3600
00247 
00248 ; Maximum number of recipients that can be included in a single email
00249 ; (either as To:, Cc:, or Bcc: addresses) for a non-priveleged user
00250 max_recipients = 10
00251 
00252 ; If enabled, email addresses must be validated before login is possible.
00253 require_validation = Off
00254 
00255 ; Maximum number of days before an unvalidated account expires and is deleted
00256 validation_timeout = 14
00257 
00258 
00259 ;;;;;;;;;;;;;;;;;;;
00260 ; Search Settings ;
00261 ;;;;;;;;;;;;;;;;;;;
00262 
00263 [search]
00264 
00265 ; Minimum indexed word length
00266 min_word_length = 3
00267 
00268 ; The maximum number of search results fetched per keyword. These results
00269 ; are fetched and merged to provide results for searches with several keywords.
00270 results_per_keyword = 500
00271 
00272 ; The number of hours for which keyword search results are cached.
00273 result_cache_hours = 1
00274 
00275 ; Paths to helper programs for indexing non-text files.
00276 ; Programs are assumed to output the converted text to stdout, and "%s" is
00277 ; replaced by the file argument.
00278 ; Note that using full paths to the binaries is recommended.
00279 ; Uncomment applicable lines to enable (at most one per file type).
00280 ; Additional "index[MIME_TYPE]" lines can be added for any mime type to be
00281 ; indexed.
00282 
00283 ; PDF
00284 ; index[application/pdf] = "/usr/bin/pstotext -enc UTF-8 -nopgbrk %s - | /usr/bin/tr '[:cntrl:]' ' '"
00285 ; index[application/pdf] = "/usr/bin/pdftotext -enc UTF-8 -nopgbrk %s - | /usr/bin/tr '[:cntrl:]' ' '"
00286 
00287 ; PostScript
00288 ; index[application/postscript] = "/usr/bin/pstotext -enc UTF-8 -nopgbrk %s - | /usr/bin/tr '[:cntrl:]' ' '"
00289 ; index[application/postscript] = "/usr/bin/ps2ascii %s | /usr/bin/tr '[:cntrl:]' ' '"
00290 
00291 ; Microsoft Word
00292 ; index[application/msword] = "/usr/bin/antiword %s"
00293 ; index[application/msword] = "/usr/bin/catdoc %s"
00294 
00295 
00296 ;;;;;;;;;;;;;;;;
00297 ; OAI Settings ;
00298 ;;;;;;;;;;;;;;;;
00299 
00300 [oai]
00301 
00302 ; Enable OAI front-end to the site
00303 oai = On
00304 
00305 ; OAI Repository identifier
00306 repository_id = ocs.pkp.sfu.ca
00307 
00308 
00309 ;;;;;;;;;;;;;;;;;;;;;
00310 ; Fileinfo Settings ;
00311 ;;;;;;;;;;;;;;;;;;;;;
00312 
00313 [finfo]
00314 mime_database_path = /path/to/magic.mime
00315 
00316 ;;;;;;;;;;;;;;;;;;;;;;
00317 ; Interface Settings ;
00318 ;;;;;;;;;;;;;;;;;;;;;;
00319 
00320 [interface]
00321 
00322 ; Number of items to display per page; overridable on a per-conference basis
00323 items_per_page = 25
00324 
00325 ; Number of page links to display; overridable on a per-conference basis
00326 page_links = 10
00327 
00328 
00329 ;;;;;;;;;;;;;;;;;;;;
00330 ; Captcha Settings ;
00331 ;;;;;;;;;;;;;;;;;;;;
00332 
00333 [captcha]
00334 
00335 ; Whether or not to enable Captcha features
00336 captcha = off
00337 
00338 ; Whether or not to use Captcha on user registration / account creation
00339 captcha_on_register = on
00340 
00341 ; Whether or not to use Captcha on user comments
00342 captcha_on_comments = on
00343 
00344 ; Font location for font to use in Captcha images
00345 font_location = /usr/share/fonts/truetype/freefont/FreeSerif.ttf
00346 
00347 
00348 ;;;;;;;;;;;;;;;;;;;;;
00349 ; External Commands ;
00350 ;;;;;;;;;;;;;;;;;;;;;
00351 
00352 [cli]
00353 
00354 ; These are paths to (optional) external binaries used in
00355 ; certain plug-ins or advanced program features.
00356 
00357 ; Using full paths to the binaries is recommended.
00358 
00359 ; perl (used in paracite citation parser)
00360 perl = /usr/bin/perl
00361 
00362 ; tar (used in backup plugin, translation packaging)
00363 tar = /bin/tar
00364 
00365 ; On systems that do not have PHP4's Sablotron/xsl or PHP5's libxsl/xslt
00366 ; libraries installed, or for those who require a specific XSLT processor,
00367 ; you may enter the complete path to the XSLT renderer tool, with any
00368 ; required arguments. Use %xsl to substitute the location of the XSL
00369 ; stylesheet file, and %xml for the location of the XML source file; eg:
00370 ; /usr/bin/java -jar ~/java/xalan.jar -HTML -IN %xml -XSL %xsl
00371 xslt_command = ""
00372 
00373 
00374 ;;;;;;;;;;;;;;;;;;
00375 ; Proxy Settings ;
00376 ;;;;;;;;;;;;;;;;;;
00377 
00378 [proxy]
00379 
00380 ; Note that allow_url_fopen must be set to Off before these proxy settings
00381 ; will take effect.
00382 
00383 ; The HTTP proxy configuration to use
00384 ; http_host = localhost
00385 ; http_port = 80
00386 ; proxy_username = username
00387 ; proxy_password = password
00388 
00389 
00390 ;;;;;;;;;;;;;;;;;;
00391 ; Debug Settings ;
00392 ;;;;;;;;;;;;;;;;;;
00393 
00394 [debug]
00395 
00396 ; Display execution stats in the footer
00397 show_stats =  Off
00398 
00399 ; Display a stack trace when a fatal error occurs.
00400 ; Note that this may expose private information and should be disabled
00401 ; for any production system.
00402 show_stacktrace = Off
00403 
00404 ; Display an error message when something goes wrong.
00405 display_errors = Off
00406 
00407 ; Display deprecation warnings
00408 deprecation_warnings = Off

Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7