addons.php 463 B

123456789101112131415161718192021
  1. <?php
  2. return [
  3. 'autoload' => false,
  4. 'hooks' => [
  5. 'app_init' => [
  6. 'epay',
  7. ],
  8. 'config_init' => [
  9. 'summernote',
  10. ],
  11. ],
  12. 'route' => [
  13. '/example$' => 'example/index/index',
  14. '/example/d/[:name]' => 'example/demo/index',
  15. '/example/d1/[:name]' => 'example/demo/demo1',
  16. '/example/d2/[:name]' => 'example/demo/demo2',
  17. ],
  18. 'priority' => [],
  19. 'domain' => '',
  20. ];