addons.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. return [
  3. 'autoload' => false,
  4. 'hooks' => [
  5. 'admin_nologin' => [
  6. 'adminlogin',
  7. ],
  8. 'module_init' => [
  9. 'adminlogin',
  10. 'alioss',
  11. 'apilog',
  12. 'third',
  13. ],
  14. 'app_init' => [
  15. 'alioss',
  16. 'crontab',
  17. ],
  18. 'upload_config_init' => [
  19. 'alioss',
  20. ],
  21. 'upload_delete' => [
  22. 'alioss',
  23. ],
  24. 'sms_send' => [
  25. 'alisms',
  26. ],
  27. 'sms_notice' => [
  28. 'alisms',
  29. ],
  30. 'sms_check' => [
  31. 'alisms',
  32. ],
  33. 'response_send' => [
  34. 'apilog',
  35. ],
  36. 'view_filter' => [
  37. 'betterform',
  38. 'third',
  39. ],
  40. 'config_init' => [
  41. 'betterform',
  42. 'nkeditor',
  43. 'third',
  44. ],
  45. 'user_sidenav_after' => [
  46. 'signin',
  47. ],
  48. 'user_delete_successed' => [
  49. 'third',
  50. ],
  51. 'user_logout_successed' => [
  52. 'third',
  53. ],
  54. 'action_begin' => [
  55. 'third',
  56. ],
  57. ],
  58. 'route' => [
  59. '/third$' => 'third/index/index',
  60. '/third/connect/[:platform]' => 'third/index/connect',
  61. '/third/callback/[:platform]' => 'third/index/callback',
  62. '/third/bind/[:platform]' => 'third/index/bind',
  63. '/third/unbind/[:platform]' => 'third/index/unbind',
  64. ],
  65. 'priority' => [],
  66. 'domain' => '',
  67. ];