[packages/ZendFramework] fix path to Zend/Xml/Exception.php

glen glen at pld-linux.org
Mon May 19 23:39:31 CEST 2014


commit 9a036f5fd2c0d987fd0e579519a2b54f518de61e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 19 23:47:41 2014 +0300

    fix path to Zend/Xml/Exception.php

 ZendFramework-deps.patch | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
---
diff --git a/ZendFramework-deps.patch b/ZendFramework-deps.patch
index 8011378..e5f84e1 100644
--- a/ZendFramework-deps.patch
+++ b/ZendFramework-deps.patch
@@ -33,3 +33,32 @@
 +class Zend_Service_Audioscrobbler_Exception extends Exception
 +{
 +}
+--- ZendFramework-1.12.4/library/Zend/Xml/Security.php~	2014-05-19 22:41:57.000000000 +0300
++++ ZendFramework-1.12.4/library/Zend/Xml/Security.php	2014-05-19 23:12:43.208009810 +0300
+@@ -39,7 +39,7 @@
+     protected static function heuristicScan($xml)
+     {
+         if (strpos($xml, '<!ENTITY') !== false) {
+-            require_once 'Exception.php';
++            require_once 'Zend/Xml/Exception.php';
+             throw new Zend_Xml_Exception(self::ENTITY_DETECT);
+         }
+     }
+@@ -96,7 +96,7 @@
+             foreach ($dom->childNodes as $child) {
+                 if ($child->nodeType === XML_DOCUMENT_TYPE_NODE) {
+                     if ($child->entities->length > 0) {
+-                        require_once 'Exception.php';
++                        require_once 'Zend/Xml/Exception.php';
+                         throw new Zend_Xml_Exception(self::ENTITY_DETECT);
+                     }
+                 }
+@@ -130,7 +130,7 @@
+     public static function scanFile($file, DOMDocument $dom = null)
+     {
+         if (!file_exists($file)) {
+-            require_once 'Exception.php';
++            require_once 'Zend/Xml/Exception.php';
+             throw new Zend_Xml_Exception(
+                 "The file $file specified doesn't exist"
+             );
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ZendFramework.git/commitdiff/afdc83fc2aabc4e3570429c932406ad17b02c1ad



More information about the pld-cvs-commit mailing list