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

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

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

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