addons.php 801 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. return [
  3. 'autoload' => false,
  4. 'hooks' => [
  5. 'app_init' => [
  6. 'alioss',
  7. 'qrcode',
  8. ],
  9. 'module_init' => [
  10. 'alioss',
  11. ],
  12. 'upload_config_init' => [
  13. 'alioss',
  14. ],
  15. 'upload_delete' => [
  16. 'alioss',
  17. ],
  18. 'epay_config_init' => [
  19. 'epay',
  20. ],
  21. 'addon_action_begin' => [
  22. 'epay',
  23. ],
  24. 'action_begin' => [
  25. 'epay',
  26. ],
  27. 'upgrade' => [
  28. 'exam',
  29. ],
  30. 'config_init' => [
  31. 'summernote',
  32. ],
  33. ],
  34. 'route' => [
  35. '/qrcode$' => 'qrcode/index/index',
  36. '/qrcode/build$' => 'qrcode/index/build',
  37. ],
  38. 'priority' => [],
  39. 'domain' => '',
  40. ];