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

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

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

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