milfs/rest/vendor/nikic/fast-route/src/bootstrap.php

13 lines
294 B
PHP
Raw Normal View History

2018-10-13 17:01:33 +00: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';
}
});