mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-26 15:26:03 +03:00
Merge pull request #368 from TravisPaul/develop
Prevent autoload clash when previous code has used spl_autoload_register
This commit is contained in:
commit
4ab61ad35a
@ -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
Block a user