mirror of
https://github.com/redmine/redmine.git
synced 2025-12-22 16:30:38 +01:00
added info about textile availabality on admin/info
git-svn-id: http://redmine.rubyforge.org/svn/trunk@386 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -52,7 +52,9 @@ class AdminController < ApplicationController
|
||||
|
||||
def info
|
||||
@db_adapter_name = ActiveRecord::Base.connection.adapter_name
|
||||
@default_admin_changed = User.find(:first, :conditions => ["login=? and hashed_password=?", 'admin', User.hash_password('admin')]).nil?
|
||||
@file_repository_writable = File.writable?(Attachment.storage_path)
|
||||
@flags = Hash.new
|
||||
@flags[:default_admin_changed] = User.find(:first, :conditions => ["login=? and hashed_password=?", 'admin', User.hash_password('admin')]).nil?
|
||||
@flags[:file_repository_writable] = File.writable?(Attachment.storage_path)
|
||||
@flags[:textile_available] = ActionView::Helpers::TextHelper.method_defined? "textilize"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user