PDF: replace RAILS_ROOT to Rails.root at vendor/plugins/rfpdf/lib/tcpdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6121 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e5dfd24aa5
commit
fa86ef3542
|
@ -82,10 +82,10 @@ class TCPDF
|
||||||
@@k_small_ratio = 2/3.0
|
@@k_small_ratio = 2/3.0
|
||||||
|
|
||||||
cattr_accessor :k_path_cache
|
cattr_accessor :k_path_cache
|
||||||
@@k_path_cache = File.join(RAILS_ROOT, 'tmp')
|
@@k_path_cache = Rails.root.join('tmp')
|
||||||
|
|
||||||
cattr_accessor :k_path_url_cache
|
cattr_accessor :k_path_url_cache
|
||||||
@@k_path_url_cache = File.join(RAILS_ROOT, 'tmp')
|
@@k_path_url_cache = Rails.root.join('tmp')
|
||||||
|
|
||||||
cattr_accessor :decoder
|
cattr_accessor :decoder
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue