addons.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. return [
  3. 'autoload' => false,
  4. 'hooks' => [
  5. 'app_init' => [
  6. 'cos',
  7. 'qrcode',
  8. 'shopro',
  9. ],
  10. 'module_init' => [
  11. 'cos',
  12. ],
  13. 'upload_config_init' => [
  14. 'cos',
  15. ],
  16. 'upload_delete' => [
  17. 'cos',
  18. ],
  19. 'epay_config_init' => [
  20. 'epay',
  21. ],
  22. 'addon_action_begin' => [
  23. 'epay',
  24. ],
  25. 'action_begin' => [
  26. 'epay',
  27. ],
  28. 'user_sidenav_after' => [
  29. 'poster',
  30. ],
  31. 'upgrade' => [
  32. 'shopro',
  33. ],
  34. 'config_init' => [
  35. 'shopro',
  36. 'summernote',
  37. ],
  38. ],
  39. 'route' => [
  40. '/example$' => 'example/index/index',
  41. '/example/d/[:name]' => 'example/demo/index',
  42. '/example/d1/[:name]' => 'example/demo/demo1',
  43. '/example/d2/[:name]' => 'example/demo/demo2',
  44. '/qrcode$' => 'qrcode/index/index',
  45. '/qrcode/build$' => 'qrcode/index/build',
  46. ],
  47. 'priority' => [],
  48. 'domain' => '',
  49. ];