first commit

This commit is contained in:
aschwarz
2023-03-14 07:16:04 +01:00
commit 6bbedc25ab
2239 changed files with 392206 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<?php
/**
* This file is part of FPDI
*
* @package setasign\Fpdi
* @copyright Copyright (c) 2020 Setasign GmbH & Co. KG (https://www.setasign.com)
* @license http://opensource.org/licenses/mit-license The MIT License
*/
spl_autoload_register(function ($class) {
if (strpos($class, 'setasign\Fpdi\\') === 0) {
$filename = str_replace('\\', DIRECTORY_SEPARATOR, substr($class, 14)) . '.php';
$fullpath = __DIR__ . DIRECTORY_SEPARATOR . $filename;
if (file_exists($fullpath)) {
/** @noinspection PhpIncludeInspection */
require_once $fullpath;
}
}
});