Prevent autoload clash when previous code has used spl_autoload_register

This commit is contained in:
Travis Paul 2014-05-14 16:31:09 -04:00
parent c2a277c447
commit 08c1f4b19a
1 changed files with 1 additions and 1 deletions

View File

@ -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()