22 lines
643 B
PHP
22 lines
643 B
PHP
|
<?php
|
||
|
/*
|
||
|
SPDX-License-Identifier: AGPL-3.0-only
|
||
|
SPDX-FileCopyrightText: © 2024 Millions Missing FRANCE <info@millionsmissing.fr>
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| Register Namespaces And Routes
|
||
|
|--------------------------------------------------------------------------
|
||
|
|
|
||
|
| When a module starting, this file will executed automatically. This helps
|
||
|
| to register some namespaces like translator or view. Also this file
|
||
|
| will load the routes file for each module. You may also modify
|
||
|
| this file as you want.
|
||
|
|
|
||
|
*/
|
||
|
|
||
|
if (!app()->routesAreCached()) {
|
||
|
require __DIR__ . '/Http/routes.php';
|
||
|
}
|