31 if (ini_get(
'mbstring.func_overload') & 2) {
32 throw new Exception(
'Multibyte function overloading in PHP must be disabled for string functions (2).');
40 return spl_autoload_register(array(
'PHPExcel_Autoloader',
'Load'));
44 public static function Load($pObjectName){
45 if ((class_exists($pObjectName)) || (strpos($pObjectName,
'PHPExcel') === False)) {
49 $pObjectFilePath = PHPEXCEL_ROOT.
50 str_replace(
'_',DIRECTORY_SEPARATOR,$pObjectName).
53 if ((file_exists($pObjectFilePath) ===
false) || (is_readable($pObjectFilePath) ===
false)) {
57 require($pObjectFilePath);