ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
bootstrap.php
Go to the documentation of this file.
1 <?php
2 
3 require_once __DIR__ . '/../src/functions.php';
4 
5 spl_autoload_register(function ($class) {
6  if (strpos($class, 'FastRoute\\') === 0) {
7  $dir = strcasecmp(substr($class, -4), 'Test') ? 'src/' : 'test/';
8  $name = substr($class, strlen('FastRoute'));
9  require __DIR__ . '/../' . $dir . strtr($name, '\\', DIRECTORY_SEPARATOR) . '.php';
10  }
11 });
if($format !==null) $name
Definition: metadata.php:146