|
Ultima modificación |
Ver Log
|
| Rev |
Autor |
Línea Nro. |
Línea |
| 1441 |
ariadna |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
namespace FastRoute;
|
|
|
4 |
|
|
|
5 |
require __DIR__ . '/functions.php';
|
|
|
6 |
|
|
|
7 |
spl_autoload_register(function ($class) {
|
|
|
8 |
if (strpos($class, 'FastRoute\\') === 0) {
|
|
|
9 |
$name = substr($class, strlen('FastRoute'));
|
|
|
10 |
require __DIR__ . strtr($name, '\\', DIRECTORY_SEPARATOR) . '.php';
|
|
|
11 |
}
|
|
|
12 |
});
|