mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 05:16:06 +03:00
14 lines
306 B
PHP
14 lines
306 B
PHP
|
<?php
|
||
|
spl_autoload_register(function ($class) {
|
||
|
include 'phar://PHPExcel/' . str_replace('_', '/', $class) . '.php';
|
||
|
});
|
||
|
|
||
|
try {
|
||
|
Phar::mapPhar();
|
||
|
include 'phar://PHPExcel/PHPExcel.php';
|
||
|
} catch (PharException $e) {
|
||
|
error_log($e->getMessage());
|
||
|
exit(1);
|
||
|
}
|
||
|
|
||
|
__HALT_COMPILER();
|