summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-04-06 16:44:28 +0200
committerRemi Collet <fedora@famillecollet.com>2016-04-06 16:44:28 +0200
commit2d25db0943b9382e4065db3f0e48adc0966c28f0 (patch)
tree55f35077898deb1abbf83deb953b8248d9802a85
parent3b9f947db673e17ee337c2d0685ef8a3e5ab0930 (diff)
php-hoa-regex: autoloader
-rw-r--r--php-hoa-regex-autoload.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-hoa-regex-autoload.php b/php-hoa-regex-autoload.php
index a95679c..4492bf0 100644
--- a/php-hoa-regex-autoload.php
+++ b/php-hoa-regex-autoload.php
@@ -1,5 +1,5 @@
<?php
-/* Autoloader for hoa/router and its dependencies */
+/* Autoloader for hoa/regex and its dependencies */
$vendor = '/usr/share/php';
@@ -7,10 +7,13 @@ $vendor = '/usr/share/php';
foreach ([
$vendor . '/Hoa/Consistency/autoload.php' => true,
$vendor . '/Hoa/Exception/autoload.php' => true,
- $vendor . '/Hoa/Http/autoload.php' => true,
+ $vendor . '/Hoa/Math/autoload.php' => true,
+ $vendor . '/Hoa/Protocol/autoload.php' => true,
+ $vendor . '/Hoa/Ustring/autoload.php' => true,
+ $vendor . '/Hoa/Visitor/autoload.php' => true,
] as $dep => $mandatory) {
if ($mandatory || file_exists($dep)) require_once($dep);
}
-$fedoraHoaLoader->addNamespace('Hoa\\Locale\\', __DIR__, true);
+$fedoraHoaLoader->addNamespace('Hoa\\Regex\\', __DIR__, true);