Sha256: 43091511a622a693a5d66083f42402a2b013b57732ead9ffc36e6157a1c92b2c
Contents?: true
Size: 1.94 KB
Versions: 1
Compression:
Stored size: 1.94 KB
Contents
# = Configuration # # Configuration parameters. # # code: # * George Moschovitis <gm@navel.gr> # # (c) 2004 Navel, all rights reserved. # $Id: config.rb 116 2004-10-29 16:26:32Z gmosx $ # the name of the server $srv_name = "Nitro" # the version of the server $srv_version = "0.3.0" # monitor scripts for changes #-- # gmosx, FIXME: replace this with reload_scripts ?? #++ $srv_monitor_scripts = true # the default file to view in a direcotry $index_filename = "index.sx" # seconds till the autologin cookie expires $srv_autologin_expires = 60*60*24*30 # session timeout (in seconds) $srv_session_timeout = 35*60 # session timeout for anonymous user (in seconds) $srv_anon_session_timeout = 30*60 # enable distributed state? $drb_state = false # use the default error page. $error_page_url = nil # default encoding for the app. $encoding = "iso-8859-1" if $DBG puts "\nRunning DEBUG configuration.\n\n" # Logger (redirect to STDERR) $log = Logger.new(STDERR); $log.level = Logger::DEBUG # If set to true disables xsl caching. Usefull when debugging xsls. $reload_xsl = true # If set to true disables script compilation. Usefull when debugging # statically included scripts. $reload_scripts = true # Standard server setup for debugging. $srv_address = $appsrv_address = "127.0.0.1" $srv_port = 8080 $appsrv_port = 9090 $srv_url = "http://#$srv_address:#$srv_port" else puts "\nRunning LIVE configuration.\n\n" # If set to true disables xsl caching. Usefull when debugging xsls. $reload_xsl = false # If set to true disables script compilation. Usefull when debugging # statically included scripts. $reload_scripts = false # Standard server setup for live server. You probably # want to override this. $srv_address = $appsrv_address = "127.0.0.1" $srv_port = 8080 $appsrv_port = 9090 $srv_url = "http://#$srv_address:#$srv_port" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.3.0 | lib/n/config.rb |