General: Work item 16028 - Fix for projects that still use old autoloaders

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@83541 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2011-12-02 14:16:23 +00:00
parent 969c409ba1
commit ee028c165d
2 changed files with 29 additions and 25 deletions

View File

@ -37,6 +37,9 @@ PHPExcel_Shared_String::buildCharacterSets();
class PHPExcel_Autoloader class PHPExcel_Autoloader
{ {
public static function Register() { public static function Register() {
if (function_exists('__autoload')) {
spl_autoload_register('__autoload');
}
return spl_autoload_register(array('PHPExcel_Autoloader', 'Load')); return spl_autoload_register(array('PHPExcel_Autoloader', 'Load'));
} // function Register() } // function Register()

View File

@ -50,6 +50,7 @@ Fixed in SVN:
- General: (MBaker) Work item 16923 - Datatype.php & constant TYPE_NULL - General: (MBaker) Work item 16923 - Datatype.php & constant TYPE_NULL
- General: (MBaker) Ensure use of system temp directory for all temporary work files, unless explicitly specified - General: (MBaker) Ensure use of system temp directory for all temporary work files, unless explicitly specified
- General: (char101) Work item 16359 - [Patch] faster stringFromColumnIndex() - General: (char101) Work item 16359 - [Patch] faster stringFromColumnIndex()
- General: (whit1206) Work item 16028 - Fix for projects that still use old autoloaders
2011-02-27 (v1.7.6): 2011-02-27 (v1.7.6):