]>
Commit | Line | Data |
---|---|---|
7ae13fb9 ER |
1 | --- ZendFramework-1.7.6/library/Zend/Service/Audioscrobbler/Exception.php~ 2009-03-10 22:15:39.811374312 +0200 |
2 | +++ ZendFramework-1.7.6/library/Zend/Service/Audioscrobbler/Exception.php 2009-03-10 22:15:31.689629002 +0200 | |
3 | @@ -0,0 +1,32 @@ | |
4 | +<?php | |
5 | +/** | |
6 | + * Zend Framework | |
7 | + * | |
8 | + * LICENSE | |
9 | + * | |
10 | + * This source file is subject to the new BSD license that is bundled | |
11 | + * with this package in the file LICENSE.txt. | |
12 | + * It is also available through the world-wide-web at this URL: | |
13 | + * http://framework.zend.com/license/new-bsd | |
14 | + * If you did not receive a copy of the license and are unable to | |
15 | + * obtain it through the world-wide-web, please send an email | |
16 | + * to license@zend.com so we can send you a copy immediately. | |
17 | + * | |
18 | + * @category Zend | |
19 | + * @package Zend_Service | |
20 | + * @subpackage Audioscrobbler | |
21 | + * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) | |
22 | + * @license http://framework.zend.com/license/new-bsd New BSD License | |
23 | + * @version $Id$ | |
24 | + */ | |
25 | + | |
26 | +/** | |
27 | + * @category Zend | |
28 | + * @package Zend_Service | |
29 | + * @subpackage Audioscrobbler | |
30 | + * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) | |
31 | + * @license http://framework.zend.com/license/new-bsd New BSD License | |
32 | + */ | |
33 | +class Zend_Service_Audioscrobbler_Exception extends Exception | |
34 | +{ | |
35 | +} | |
9a036f5f ER |
36 | --- ZendFramework-1.12.4/library/Zend/Xml/Security.php~ 2014-05-19 22:41:57.000000000 +0300 |
37 | +++ ZendFramework-1.12.4/library/Zend/Xml/Security.php 2014-05-19 23:12:43.208009810 +0300 | |
38 | @@ -39,7 +39,7 @@ | |
39 | protected static function heuristicScan($xml) | |
40 | { | |
41 | if (strpos($xml, '<!ENTITY') !== false) { | |
42 | - require_once 'Exception.php'; | |
43 | + require_once 'Zend/Xml/Exception.php'; | |
44 | throw new Zend_Xml_Exception(self::ENTITY_DETECT); | |
45 | } | |
46 | } | |
47 | @@ -96,7 +96,7 @@ | |
48 | foreach ($dom->childNodes as $child) { | |
49 | if ($child->nodeType === XML_DOCUMENT_TYPE_NODE) { | |
50 | if ($child->entities->length > 0) { | |
51 | - require_once 'Exception.php'; | |
52 | + require_once 'Zend/Xml/Exception.php'; | |
53 | throw new Zend_Xml_Exception(self::ENTITY_DETECT); | |
54 | } | |
55 | } | |
56 | @@ -130,7 +130,7 @@ | |
57 | public static function scanFile($file, DOMDocument $dom = null) | |
58 | { | |
59 | if (!file_exists($file)) { | |
60 | - require_once 'Exception.php'; | |
61 | + require_once 'Zend/Xml/Exception.php'; | |
62 | throw new Zend_Xml_Exception( | |
63 | "The file $file specified doesn't exist" | |
64 | ); | |
dfaee70a ER |
65 | --- ZendFramework-1.12.11/library/Zend/Loader/AutoloaderFactory.php~ 2015-04-29 18:13:53.000000000 +0300 |
66 | +++ ZendFramework-1.12.11/library/Zend/Loader/AutoloaderFactory.php 2015-04-29 18:20:50.748094112 +0300 | |
67 | @@ -82,7 +82,7 @@ | |
68 | } | |
69 | ||
70 | if (!is_array($options) && !($options instanceof Traversable)) { | |
71 | - require_once 'Exception/InvalidArgumentException.php'; | |
72 | + require_once 'Zend/Loader/Exception/InvalidArgumentException.php'; | |
73 | throw new Zend_Loader_Exception_InvalidArgumentException( | |
74 | 'Options provided must be an array or Traversable' | |
75 | ); | |
76 | @@ -105,7 +105,7 @@ | |
77 | // Autoload with standard autoloader | |
78 | $autoloader = self::getStandardAutoloader(); | |
79 | if (!class_exists($class) && !$autoloader->autoload($class)) { | |
80 | - require_once 'Exception/InvalidArgumentException.php'; | |
81 | + require_once 'Zend/Loader/Exception/InvalidArgumentException.php'; | |
82 | throw new Zend_Loader_Exception_InvalidArgumentException(sprintf( | |
83 | 'Autoloader class "%s" not loaded', | |
84 | $class | |
85 | @@ -116,7 +116,7 @@ | |
86 | // additionally instanceof is also broken for this use case | |
87 | if (version_compare(PHP_VERSION, '5.3.7', '>=')) { | |
88 | if (!is_subclass_of($class, 'Zend_Loader_SplAutoloader')) { | |
89 | - require_once 'Exception/InvalidArgumentException.php'; | |
90 | + require_once 'Zend/Loader/Exception/InvalidArgumentException.php'; | |
91 | throw new Zend_Loader_Exception_InvalidArgumentException(sprintf( | |
92 | 'Autoloader class %s must implement Zend\\Loader\\SplAutoloader', | |
93 | $class | |
94 | @@ -159,7 +159,7 @@ | |
95 | public static function getRegisteredAutoloader($class) | |
96 | { | |
97 | if (!isset(self::$loaders[$class])) { | |
98 | - require_once 'Exception/InvalidArgumentException.php'; | |
99 | + require_once 'Zend/Loader/Exception/InvalidArgumentException.php'; | |
100 | throw new Zend_Loader_Exception_InvalidArgumentException(sprintf('Autoloader class "%s" not loaded', $class)); | |
101 | } | |
102 | return self::$loaders[$class]; |