OpenXE/vendor/nikic/fast-route/src/bootstrap.php

13 lines
294 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?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';
}
});