Skip to content

Commit

Permalink
fixed bad random call introduced yesterday. fixes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed May 11, 2012
1 parent ac65458 commit 7a5bffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DokuPDF.class.php
Expand Up @@ -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");

Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 7a5bffa

Please sign in to comment.