Guest User

Untitled

a guest
Jan 22nd, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. # Specify the root directory. This is required since there are multiple directories
  2. # to load resources from. This directory will be used for the database logger, modes, etc.
  3. Zen.root = __DIR__('../')
  4.  
  5. # Set the application's mode. Available modes are "dev" and "live"
  6. Ramaze.options.mode = :live
  7. Ramaze.options.app.name = :'yorickpeterse.com'
  8.  
  9. # The session identifier to use for cookies.
  10. Ramaze.options.session.key = 'yorickpeterse.com.sid'
  11.  
  12. # Cache settings. These are turned off for the development server to make it easier
  13. # to debug potential errors.
  14. Ramaze::View.options.cache = true
  15. Ramaze::View.options.read_cache = true
  16.  
  17. # Use LRU instead of the memory cache as the latter leaks memory over time
  18. Ramaze::Cache.options.session = Ramaze::Cache::MemCache
  19. Ramaze::Cache.options.settings = Ramaze::Cache::MemCache
  20. #Ramaze::Cache.options.view = Ramaze::Cache::LRU
  21.  
  22. Ramaze::Log.level = Logger::ERROR
Add Comment
Please, Sign In to add comment