@@ -86,10 +86,10 class TCPDF | |||
|
86 | 86 | @@k_small_ratio = 2/3.0 |
|
87 | 87 | |
|
88 | 88 | cattr_accessor :k_path_cache |
|
89 |
@@k_path_cache = Rails.root.join('tmp').to_ |
|
|
89 | @@k_path_cache = Rails.root.join('tmp').to_s | |
|
90 | 90 | |
|
91 | 91 | cattr_accessor :k_path_url_cache |
|
92 |
@@k_path_url_cache = Rails.root.join('tmp').to_ |
|
|
92 | @@k_path_url_cache = Rails.root.join('tmp').to_s | |
|
93 | 93 | |
|
94 | 94 | cattr_accessor :decoder |
|
95 | 95 |
@@ -36,7 +36,7 module Redmine | |||
|
36 | 36 | attr_accessor :footer_date |
|
37 | 37 | |
|
38 | 38 | def initialize(lang) |
|
39 |
@@k_path_cache = Rails.root.join('tmp', 'pdf').to_ |
|
|
39 | @@k_path_cache = Rails.root.join('tmp', 'pdf').to_s | |
|
40 | 40 | FileUtils.mkdir_p @@k_path_cache unless File::exist?(@@k_path_cache) |
|
41 | 41 | set_language_if_valid lang |
|
42 | 42 | pdf_encoding = l(:general_pdf_encoding).upcase |
General Comments 0
You need to be logged in to leave comments.
Login now