OpenXE/vendor/nikic/fast-route/src/bootstrap.php
2021-05-21 08:49:41 +02:00

13 lines
294 B
PHP

<?php
namespace FastRoute;
require __DIR__ . '/functions.php';
spl_autoload_register(function ($class) {
if (strpos($class, 'FastRoute\\') === 0) {
$name = substr($class, strlen('FastRoute'));
require __DIR__ . strtr($name, '\\', DIRECTORY_SEPARATOR) . '.php';
}
});