替换了PHP新版本不支持的函数
This commit is contained in:
parent
81e73b269d
commit
c4c8d81cab
|
@ -319,7 +319,7 @@ function _putfonts()
|
||||||
$this->_out('endobj');
|
$this->_out('endobj');
|
||||||
}
|
}
|
||||||
$mqr=get_magic_quotes_runtime();
|
$mqr=get_magic_quotes_runtime();
|
||||||
set_magic_quotes_runtime(0);
|
ini_set('magic_quotes_runtime', 0);
|
||||||
foreach($this->FontFiles as $file=>$info)
|
foreach($this->FontFiles as $file=>$info)
|
||||||
{
|
{
|
||||||
//Font file embedding
|
//Font file embedding
|
||||||
|
@ -342,7 +342,7 @@ function _putfonts()
|
||||||
fclose($f);
|
fclose($f);
|
||||||
$this->_out('endobj');
|
$this->_out('endobj');
|
||||||
}
|
}
|
||||||
set_magic_quotes_runtime($mqr);
|
ini_set('magic_quotes_runtime', $mqr);
|
||||||
foreach($this->fonts as $k=>$font)
|
foreach($this->fonts as $k=>$font)
|
||||||
{
|
{
|
||||||
//Font objects
|
//Font objects
|
||||||
|
|
Loading…
Reference in New Issue