]> git.pld-linux.org Git - packages/ZendFramework.git/commitdiff
fix path to Zend/Xml/Exception.php
authorElan Ruusamäe <glen@delfi.ee>
Mon, 19 May 2014 20:47:41 +0000 (23:47 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 19 May 2014 20:47:41 +0000 (23:47 +0300)
ZendFramework-deps.patch

index 8011378cc0dd512be6d4d692d8ed57b206581fa2..e5f84e176b1f5f8b207b34a24f71107fa2e226d4 100644 (file)
 +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"
+             );
This page took 0.12724 seconds and 4 git commands to generate.