git-svn-id: https://svn.redmine.org/redmine/trunk@22708 e93f8b46-1217-0410-a6f0-8f06a7374b81pull/149/head
@@ -148,7 +148,7 @@ module Redmine | |||
end | |||
def self.scan_themes | |||
dirs = Dir.glob("#{Rails.root}/app/assets/themes/*").select do |f| | |||
dirs = Dir.glob(["#{Rails.root}/app/assets/themes/*", "#{Rails.root}/themes/*"]).select do |f| | |||
# A theme should at least override application.css | |||
File.directory?(f) && File.exist?("#{f}/stylesheets/application.css") | |||
end |