summaryrefslogtreecommitdiffstats
path: root/php-hoa-locale-autoload.php
blob: e544798bfc6c54522a1b5cd554057663ec48ba50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/* Autoloader for hoa/locale and its dependencies */

$vendor = '/usr/share/php';

// Dependencies
foreach ([
	$vendor . '/Hoa/Consistency/autoload.php'    => true,
	$vendor . '/Hoa/Exception/autoload.php'      => true,
	$vendor . '/Hoa/Http/autoload.php'      => true,
	] as $dep => $mandatory) {
	if ($mandatory || file_exists($dep)) require_once($dep);
}

$fedoraHoaLoader->addNamespace('Hoa\\Locale\\', __DIR__, true);