mirror of
https://gh.wpcy.net/https://github.com/thomas-deep/freescoutAI.git
synced 2026-05-23 01:23:14 +08:00
28 lines
801 B
PHP
28 lines
801 B
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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.
|
|
|
|
|
*/
|
|
|
|
// Uncomment if you want to use Laravel 5.5 auto-discovery
|
|
/*
|
|
if (!app()->configurationIsCached()) {
|
|
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
|
|
$loader->alias('FreeScoutAI', 'Modules\FreeScoutAI\Facades\FreeScoutAI');
|
|
}
|
|
*/
|
|
|
|
/**
|
|
* Register module routes.
|
|
*/
|
|
if (!app()->routesAreCached()) {
|
|
require __DIR__ . '/Http/routes.php';
|
|
}
|