Sha256: fbe48ca12050e077d20d6357a36d9f9ca868bb60d5f2aa1dfbd4ab783e9bd636

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

# = Debug Configuration
#
# Configuration to use while debugging, this is slow.
#--
# code:
# George Moschovitis  <gm@navel.gr>
#
# (c) 2004 Navel, all rights reserved.
# $Id: debug-config.rb 84 2004-10-19 13:57:01Z gmosx $
#++

require "simple/conf/config"

puts "DEBUG configuration\n\n"

# 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

# Logger (redirect to STDERR)

$log = Logger.new(STDERR); 
$log.level = Logger::DEBUG

# Events logger

$elog = Logger.new(STDERR); 
$elog.level = Logger::INFO

# Database

$db = N::Db.new(
	:address => "localhost",
	:database => "simple",
	:user => "postgres",
	:password => "navelrulez",
	# gmosx: NEVER set to 1 to avoid deadlocks! 
	:connection_count => 5
)

$appsrv_address = "127.0.0.1"
$appsrv_port = 9090
$srv_url = "http://127.0.0.1:8080"
#$srv_url = "http://192.168.0.3:8080"

# gmosx: no error page in debug mode to avoid loops when there
# is a bug in the handler code or the shader.
$error_page_url = nil

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.1.2 examples/simple/conf/debug-config.rb