PharStub.php 293 B

1234567891011121314
  1. <?php
  2. spl_autoload_register(function ($class) {
  3. include 'phar://PHPExcel/' . str_replace('_', '/', $class) . '.php';
  4. });
  5. try {
  6. Phar::mapPhar();
  7. include 'phar://PHPExcel/PHPExcel.php';
  8. } catch (PharException $e) {
  9. error_log($e->getMessage());
  10. exit(1);
  11. }
  12. __HALT_COMPILER();