Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

set PADRINO_LOG_LEVEL constant by default

  • Loading branch information...
commit 1a4184205679d7a28bcb5fead15f002ce9e68ad3 1 parent 842907e
@marcosdsanchez marcosdsanchez authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  padrino-gen/lib/padrino-gen/generators/project/config/boot.rb
View
1  padrino-gen/lib/padrino-gen/generators/project/config/boot.rb
@@ -1,5 +1,6 @@
# Defines our constants
PADRINO_ENV = ENV["PADRINO_ENV"] ||= ENV["RACK_ENV"] ||= "development" unless defined?(PADRINO_ENV)
+PADRINO_LOG_LEVEL = PADRINO_ENV unless defined?(PADRINO_LOG_LEVEL)
PADRINO_ROOT = File.expand_path('../..', __FILE__) unless defined?(PADRINO_ROOT)
# Load our dependencies
Please sign in to comment.
Something went wrong with that request. Please try again.