Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Specify the root directory. This is required since there are multiple directories
- # to load resources from. This directory will be used for the database logger, modes, etc.
- Zen.root = __DIR__('../')
- # Set the application's mode. Available modes are "dev" and "live"
- Ramaze.options.mode = :live
- Ramaze.options.app.name = :'yorickpeterse.com'
- # The session identifier to use for cookies.
- Ramaze.options.session.key = 'yorickpeterse.com.sid'
- # Cache settings. These are turned off for the development server to make it easier
- # to debug potential errors.
- Ramaze::View.options.cache = true
- Ramaze::View.options.read_cache = true
- # Use LRU instead of the memory cache as the latter leaks memory over time
- Ramaze::Cache.options.session = Ramaze::Cache::MemCache
- Ramaze::Cache.options.settings = Ramaze::Cache::MemCache
- #Ramaze::Cache.options.view = Ramaze::Cache::LRU
- Ramaze::Log.level = Logger::ERROR
Add Comment
Please, Sign In to add comment