From 08c1f4b19a8c3e773c970f4cbba6f992fc330b98 Mon Sep 17 00:00:00 2001
From: Travis Paul
Date: Wed, 14 May 2014 16:31:09 -0400
Subject: [PATCH] Prevent autoload clash when previous code has used
spl_autoload_register
---
Classes/PHPExcel/Autoloader.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Classes/PHPExcel/Autoloader.php b/Classes/PHPExcel/Autoloader.php
index 221666f9..db0dbef1 100644
--- a/Classes/PHPExcel/Autoloader.php
+++ b/Classes/PHPExcel/Autoloader.php
@@ -55,7 +55,7 @@ class PHPExcel_Autoloader
spl_autoload_register('__autoload');
}
// Register ourselves with SPL
- return spl_autoload_register(array('PHPExcel_Autoloader', 'Load'));
+ return spl_autoload_register(array('PHPExcel_Autoloader', 'Load'), true, true);
} // function Register()