phpvms/resources/stubs/modules/start.stub

18 lines
521 B
Plaintext
Raw Normal View History

2017-12-02 04:34:37 +08:00
<?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.
|
*/
/*if (!app()->routesAreCached()) {
require __DIR__ . '$ROUTES_LOCATION$';
}*/