etc/app.d/base.rb in rbbt-util-5.14.16 vs etc/app.d/base.rb in rbbt-util-5.14.17
- old
+ new
@@ -21,10 +21,12 @@
:expire_after => 2592000,
:secret => "#{self.to_s} secret!!"
#{{{ DIRECTORIES
-local_var = Rbbt.var#.find(:current)
+global_var = Rbbt.var
+local_var = Rbbt.var.app[$class_name]
+
set :cache_dir , local_var.sinatra.cache.find
set :persist_dir , local_var.sinatra.cache.persistence.find
set :persist_options , {:persist => true, :persist_dir => :persist_dir}
set :file_dir , local_var.sinatra.files.find
set :permalink_dir , local_var.sinatra.permalink.find