Patch #32924 ยป 0001-tmp-pdf-directory-is-no-longer-necessary.patch
| lib/redmine/export/pdf.rb | ||
|---|---|---|
| 28 | 28 |
attr_accessor :footer_date |
| 29 | 29 | |
| 30 | 30 |
def initialize(lang, orientation='P') |
| 31 |
@@k_path_cache = Rails.root.join('tmp', 'pdf')
|
|
| 32 |
FileUtils.mkdir_p @@k_path_cache unless File::exist?(@@k_path_cache) |
|
| 33 | 31 |
set_language_if_valid lang |
| 34 | 32 |
super(orientation, 'mm', 'A4') |
| 35 | 33 |
set_print_header(false) |