summaryrefslogtreecommitdiffstats
path: root/vendor/plugins/rfpdf/lib/tcpdf.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-22 23:41:54 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-22 23:41:54 +0000
commitfa86ef35427f0471d96f2418ed75adbfd721011d (patch)
tree95394624a2746180a97120768a8912cb0dc6b0c4 /vendor/plugins/rfpdf/lib/tcpdf.rb
parente5dfd24aa5db19436fc268a59047a5da8577ce23 (diff)
downloadredmine-fa86ef35427f0471d96f2418ed75adbfd721011d.tar.gz
redmine-fa86ef35427f0471d96f2418ed75adbfd721011d.zip
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
Diffstat (limited to 'vendor/plugins/rfpdf/lib/tcpdf.rb')
-rwxr-xr-xvendor/plugins/rfpdf/lib/tcpdf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/plugins/rfpdf/lib/tcpdf.rb b/vendor/plugins/rfpdf/lib/tcpdf.rb
index ee8cba91c..0013ca66a 100755
--- a/vendor/plugins/rfpdf/lib/tcpdf.rb
+++ b/vendor/plugins/rfpdf/lib/tcpdf.rb
@@ -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