]> source.dussan.org Git - redmine.git/commitdiff
Creator property added for generated pdf files
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 3 Feb 2007 14:00:22 +0000 (14:00 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 3 Feb 2007 14:00:22 +0000 (14:00 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@224 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/ifpdf_helper.rb

index a0dab0f944d27ad2a1fa2b2d7516c4ce40f630b7..7c1e3107ef5e16ea9b244559612de0ebef1aa724 100644 (file)
@@ -22,6 +22,11 @@ module IfpdfHelper
   class IFPDF < FPDF\r
 \r
     attr_accessor :footer_date\r
+    \r
+    def initialize\r
+      super\r
+      SetCreator("redMine #{Redmine::VERSION}")\r
+    end\r
       \r
     def Cell(w,h=0,txt='',border=0,ln=0,align='',fill=0,link='')\r
       @ic ||= Iconv.new('ISO-8859-1', 'UTF-8')\r