Merge pull request #368 from TravisPaul/develop

Prevent autoload clash when previous code has used spl_autoload_register
This commit is contained in:
Mark Baker 2014-05-26 12:04:25 +01:00
commit 4ab61ad35a

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