diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-22 18:03:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-22 18:03:02 +0000 |
commit | 0634591b3db01098057f2e20e101d7886ddbff5a (patch) | |
tree | 84686184411e7af40b3e731a7dfdcbf446bb5915 /lib | |
parent | 5e6fa147da47a4b1e17b0d39567b8ab7641b1a8c (diff) | |
download | redmine-0634591b3db01098057f2e20e101d7886ddbff5a.tar.gz redmine-0634591b3db01098057f2e20e101d7886ddbff5a.zip |
Themes:
* Fixed: themes are not found when running Apache+fastcgi
* Added 'Classic' theme (inspired from the v0.51 design)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@922 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/themes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/themes.rb b/lib/redmine/themes.rb index abbd34cd1..a7cf940b8 100644 --- a/lib/redmine/themes.rb +++ b/lib/redmine/themes.rb @@ -54,7 +54,7 @@ module Redmine private def self.scan_themes - dirs = Dir.glob('public/themes/*').select do |f| + dirs = Dir.glob("#{RAILS_ROOT}/public/themes/*").select do |f| # A theme should at least override application.css File.directory?(f) && File.exist?("#{f}/stylesheets/application.css") end |