first commit -> move some files from one-api
This commit is contained in:
14
application/third_party/PHPExcel/Build/PharStub.php
vendored
Normal file
14
application/third_party/PHPExcel/Build/PharStub.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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();
|
||||
Reference in New Issue
Block a user