* 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
This commit is contained in:
Jean-Philippe Lang
2007-11-22 18:03:02 +00:00
parent 5e6fa147da
commit 0634591b3d
3 changed files with 49 additions and 10 deletions
+1 -1
View File
@@ -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