summaryrefslogtreecommitdiffstats
path: root/glpi-0.90-autoload.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-01-23 10:43:31 +0100
committerRemi Collet <fedora@famillecollet.com>2017-01-23 10:43:31 +0100
commit5cc7e81ea291ed7491ea4c422a97f279dbf357b7 (patch)
tree05bd4d3f3cc54f1b18d766b3e82ea614832010bf /glpi-0.90-autoload.patch
parentc51b64385022a487f6eaa2dd6b116ec72864c439 (diff)
switch the spec
Diffstat (limited to 'glpi-0.90-autoload.patch')
-rw-r--r--glpi-0.90-autoload.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/glpi-0.90-autoload.patch b/glpi-0.90-autoload.patch
deleted file mode 100644
index 898b286..0000000
--- a/glpi-0.90-autoload.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -up inc/autoload.function.php.old inc/autoload.function.php
---- inc/autoload.function.php.old 2016-02-18 14:45:41.167015090 +0100
-+++ inc/autoload.function.php 2016-02-18 14:47:19.277404208 +0100
-@@ -332,10 +332,14 @@ function glpi_autoload($classname) {
- // Use spl autoload to allow stackable autoload.
- spl_autoload_register('glpi_autoload');
-
-+if (file_exists(GLPI_ZEND_PATH . '/autoload.php')) {
-+ require_once (GLPI_ZEND_PATH . '/autoload.php');
-+} else {
- require_once (GLPI_ZEND_PATH . '/Loader/StandardAutoloader.php');
- $option = array(Zend\Loader\StandardAutoloader::LOAD_NS => array('Zend' => GLPI_ZEND_PATH));
- $loader = new Zend\Loader\StandardAutoloader($option);
- $loader->register();
-+}
-
- // SimplePie autoloader
- spl_autoload_register(array(new SimplePie_Autoloader(), 'autoload'));