17 lines
496 B
PHP
17 lines
496 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Register Namespaces and Routes
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| When your module starts, this file is executed automatically. By default
|
||
|
|
| it will only load the module's route file. However, you can expand on
|
||
|
|
| it to load anything else from the module, such as a class or view.
|
||
|
|
|
|
||
|
|
*/
|
||
|
|
|
||
|
|
if (!app()->routesAreCached()) {
|
||
|
|
require __DIR__ . '/Http/routes.php';
|
||
|
|
}
|