blob: 18b1f94795ee103078b0e252ee0d81e61da53329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | 
<?php
/* Autoloader for hoa/dispatcher and its dependencies */
$vendor = '/usr/share/php';
// Dependencies
foreach ([
	$vendor . '/Hoa/Consistency/autoload.php'    => true,
	$vendor . '/Hoa/Exception/autoload.php'      => true,
	$vendor . '/Hoa/Zformat/autoload.php'        => true,
	$vendor . '/Hoa/Router/autoload.php'         => false,
	$vendor . '/Hoa/View/autoload.php'           => false,
	] as $dep => $mandatory) {
	if ($mandatory || file_exists($dep)) require_once($dep);
}
$fedoraHoaLoader->addNamespace('Hoa\\Dispatcher\\', __DIR__, true);
  |