# File src/Application.rb, line 71 def initialize(docroot) mylog = Logger['iowa_log'] @docroot = docroot @sessions = SessionStore.new(@@cachedSessions,@@cacheTTL) @templateCache = {} @templateMTimes = {} @sessionLock = Mutex.new @templateLock = Mutex.new @random_numbers = Crypt::ISAAC.new @statistics = Iowa::ApplicationStats.new(@sessions) @reload_scan_mode = 'singular' $iowa_application = self mylog.info " Application with docroot of #{docroot} initialized." nil end