lib/tdiary/configuration.rb in tdiary-5.0.3 vs lib/tdiary/configuration.rb in tdiary-5.0.4
- old
+ new
@@ -169,9 +169,10 @@
@date_format = '%Y-%m-%d' unless @date_format
@latest_limit = 10 unless @latest_limit
@show_nyear = false unless @show_nyear
@theme = 'default' if not @theme and not @css
+ @theme = "local/#{@theme}" unless @theme.index('/')
@css = '' unless @css
@show_comment = true unless defined?( @show_comment )
@comment_limit = 3 unless @comment_limit
@comment_limit_per_day = 100 unless @comment_limit_per_day