[*] PDF : You can now enable diskcache
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11241 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -44,9 +44,9 @@ class PDFGeneratorCore extends TCPDF
|
||||
public $font_by_lang = array('jp' => 'cid0jp');
|
||||
|
||||
|
||||
public function __construct()
|
||||
public function __construct($use_cache = false)
|
||||
{
|
||||
parent::__construct('P', 'mm', 'A4', true, 'UTF-8', false, false);
|
||||
parent::__construct('P', 'mm', 'A4', true, 'UTF-8', $use_cache, false);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -90,7 +90,7 @@ class PDFGeneratorCore extends TCPDF
|
||||
|
||||
/**
|
||||
* Change the font
|
||||
* @param unknown_type $iso_lang
|
||||
* @param string $iso_lang
|
||||
*/
|
||||
public function setFontForLang($iso_lang)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user