start.php 496 B

12345678910111213141516
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Register Namespaces and Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | When your module starts, this file is executed automatically. By default
  8. | it will only load the module's route file. However, you can expand on
  9. | it to load anything else from the module, such as a class or view.
  10. |
  11. */
  12. if (!app()->routesAreCached()) {
  13. require __DIR__ . '/Http/routes.php';
  14. }