mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-15 20:46:26 +00:00
Prevent autoload clash when previous code has used spl_autoload_register
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user