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