Ticket #543 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Theme support is broken when managing code with CVS

Reported by: Xavier Assigned to: tobi
Priority: normal Milestone:
Component: backend Version: 2.5.x
Severity: normal Keywords: themes cvs
Cc:

Description

The method Theme::search_theme_directory is treat directories created by CVS as themes. This notably breaks the admin/themes page.

I changed the method on line 49:

  def self.search_theme_directory
    Dir.glob("#{themes_root}/[-_a-zA-Z0-9]*").collect do |file|
      file if (File.directory?(file) and not file.ends_with?("/CVS"))
    end.compact
  end

Change History

11/18/05 16:29:58 changed by scott

People still use CVS? *Why*?

11/18/05 18:16:53 changed by scott

  • status changed from new to closed.
  • resolution set to fixed.

(In [758]) Change how Typo finds themes--they must have an about.markdown file now. Closes #533