]> source.dussan.org Git - redmine.git/commitdiff
PDF: replace RAILS_ROOT to Rails.root at vendor/plugins/rfpdf/lib/tcpdf.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 22 Jun 2011 23:41:54 +0000 (23:41 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 22 Jun 2011 23:41:54 +0000 (23:41 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6121 e93f8b46-1217-0410-a6f0-8f06a7374b81

vendor/plugins/rfpdf/lib/tcpdf.rb

index ee8cba91c417fee87613f914c6362c96863af961..0013ca66aa4ed4e90073f8285ca40d6dc33a0d88 100755 (executable)
@@ -82,10 +82,10 @@ class TCPDF
   @@k_small_ratio = 2/3.0
   
   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
-  @@k_path_url_cache = File.join(RAILS_ROOT, 'tmp')
+  @@k_path_url_cache = Rails.root.join('tmp')
   
   cattr_accessor :decoder