From 76948b1a6ac9f48edb783c8cb1126dbeed3df4b4 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 25 Aug 2009 20:52:16 +0200 Subject: modified smiles escaping, uid supported --- config.ru | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'config.ru') diff --git a/config.ru b/config.ru index 95e58ae..0ca30c5 100644 --- a/config.ru +++ b/config.ru @@ -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 -- cgit v1.2.3