Browse files

fixed bad random call introduced yesterday. fixes #24

  • Loading branch information...
1 parent ac65458 commit 7a5bffac4de7e1210866c104db0fd69dafae6b09 @splitbrain committed May 11, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 DokuPDF.class.php
  2. +1 −1 plugin.info.txt
View
2 DokuPDF.class.php
@@ -8,7 +8,7 @@
* @author Andreas Gohr <andi@splitbrain.org>
*/
-if(!defined('_MPDF_TEMP_PATH')) define('_MPDF_TEMP_PATH', $conf['tmpdir'].'/dwpdf/'.rand(1000));
+if(!defined('_MPDF_TEMP_PATH')) define('_MPDF_TEMP_PATH', $conf['tmpdir'].'/dwpdf/'.rand(1,1000));
if(!defined('_MPDF_TTFONTDATAPATH')) define('_MPDF_TTFONTDATAPATH',$conf['cachedir'].'/mpdf_ttf/');
require_once(dirname(__FILE__)."/mpdf/mpdf.php");
View
2 plugin.info.txt
@@ -1,7 +1,7 @@
base dw2pdf
author Luigi Micco
email l.micco@tiscali.it
-date 2012-05-10
+date 2012-05-11
name Dw2Pdf plugin
desc DokuWiki to PDF converter
url http://www.dokuwiki.org/plugin:dw2pdf

0 comments on commit 7a5bffa

Please sign in to comment.