控制台应用,yzncms本身基于tp5.1框架,里面的队列用不了,bug,坑
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. return array (
  3. 'autoload' => false,
  4. 'hooks' =>
  5. array (
  6. 'app_init' =>
  7. array (
  8. 0 => '\\addons\\apidoc\\Apidoc',
  9. 1 => '\\addons\\cms\\Cms',
  10. 2 => '\\addons\\phpmailer\\Phpmailer',
  11. 3 => '\\addons\\queue\\Queue',
  12. ),
  13. 'user_sidenav_after' =>
  14. array (
  15. 0 => '\\addons\\cms\\Cms',
  16. ),
  17. 'xunsearch_index_reset' =>
  18. array (
  19. 0 => '\\addons\\cms\\Cms',
  20. ),
  21. 'upgrade' =>
  22. array (
  23. 0 => '\\addons\\cms\\Cms',
  24. 1 => '\\addons\\sitemap\\Sitemap',
  25. ),
  26. 'content_delete_end' =>
  27. array (
  28. 0 => '\\addons\\cms\\Cms',
  29. ),
  30. 'content_edit_end' =>
  31. array (
  32. 0 => '\\addons\\cms\\Cms',
  33. ),
  34. 'ems_send' =>
  35. array (
  36. 0 => '\\addons\\phpmailer\\Phpmailer',
  37. 1 => '\\addons\\saiyouems\\Saiyouems',
  38. ),
  39. 'ems_notice' =>
  40. array (
  41. 0 => '\\addons\\phpmailer\\Phpmailer',
  42. 1 => '\\addons\\saiyouems\\Saiyouems',
  43. ),
  44. 'ems_check' =>
  45. array (
  46. 0 => '\\addons\\phpmailer\\Phpmailer',
  47. 1 => '\\addons\\saiyouems\\Saiyouems',
  48. ),
  49. 'weburlpush' =>
  50. array (
  51. 0 => '\\addons\\weburlpush\\Weburlpush',
  52. ),
  53. ),
  54. 'route' =>
  55. array (
  56. '/apidoc$' => 'apidoc/index/index',
  57. '/apidoc/config' => 'apidoc/index/getConfig',
  58. '/apidoc/data' => 'apidoc/index/getList',
  59. '/apidoc/auth' => 'apidoc/index/verifyAuth',
  60. ),
  61. );