diff options
author | Christoph Helma <helma@in-silico.de> | 2009-08-25 20:52:16 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2009-08-25 20:52:16 +0200 |
commit | 76948b1a6ac9f48edb783c8cb1126dbeed3df4b4 (patch) | |
tree | 4b5a7307ffcbaa5493777b167eeef40996e90979 /config.ru | |
parent | 7c67bb9d0337b0b9d126df94715a95045dd8bdb1 (diff) |
modified smiles escaping, uid supported
Diffstat (limited to 'config.ru')
-rw-r--r-- | config.ru | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -2,11 +2,9 @@ require 'rubygems' require 'sinatra' require 'application.rb' -if ENV["RACK_ENV"] == 'production' - FileUtils.mkdir_p 'log' unless File.exists?('log') - log = File.new("log/sinatra.log", "a") - $stdout.reopen(log) - $stderr.reopen(log) -end +FileUtils.mkdir_p 'log' unless File.exists?('log') +log = File.new("log/sinatra.log", "a") +$stdout.reopen(log) +$stderr.reopen(log) run Sinatra::Application |