Prevent autoload clash when previous code has used spl_autoload_register
This commit is contained in:
parent
c2a277c447
commit
08c1f4b19a
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue