import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -16,14 +16,10 @@
|
||||
* @package Zend_Pdf
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Trailer.php 16541 2009-07-07 06:59:03Z bkarwin $
|
||||
* @version $Id: Trailer.php 18993 2009-11-15 17:09:16Z alexander $
|
||||
*/
|
||||
|
||||
|
||||
/** Zend_Pdf_Element_Dictionary */
|
||||
require_once 'Zend/Pdf/Element/Dictionary.php';
|
||||
|
||||
|
||||
/**
|
||||
* PDF file trailer
|
||||
*
|
||||
@ -52,6 +48,7 @@ abstract class Zend_Pdf_Trailer
|
||||
{
|
||||
if ( !in_array($key, self::$_allowedKeys) ) {
|
||||
/** @todo Make warning (log entry) instead of an exception */
|
||||
require_once 'Zend/Pdf/Exception.php';
|
||||
throw new Zend_Pdf_Exception("Unknown trailer dictionary key: '$key'.");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user