www_fpvone_cn/application/extra/addons.php

101 lines
2.5 KiB
PHP

<?php
return [
'autoload' => false,
'hooks' => [
'app_init' => [
'alioss',
'cms',
'fastim',
'qrcode',
'shopro',
],
'module_init' => [
'alioss',
'third',
],
'upload_config_init' => [
'alioss',
],
'upload_delete' => [
'alioss',
],
'sms_send' => [
'alisms',
],
'sms_notice' => [
'alisms',
],
'sms_check' => [
'alisms',
],
'upgrade' => [
'cms',
'fastim',
'shopro',
],
'view_filter' => [
'cms',
'third',
],
'user_sidenav_after' => [
'cms',
],
'xunsearch_config_init' => [
'cms',
'docs',
],
'xunsearch_index_reset' => [
'cms',
'docs',
],
'app_dispatch' => [
'docs',
],
'epay_config_init' => [
'epay',
],
'addon_action_begin' => [
'epay',
],
'action_begin' => [
'epay',
'third',
],
'config_init' => [
'nkeditor',
'third',
],
'user_delete_successed' => [
'third',
],
'user_logout_successed' => [
'third',
],
],
'route' => [
'/$' => 'cms/index/index',
'/t/[:diyname]$' => 'cms/tag/index',
'/p/[:diyname]$' => 'cms/page/index',
'/s$' => 'cms/search/index',
'/d/[:diyname]$' => 'cms/diyform/index',
'/d/[:diyname]/post' => 'cms/diyform/post',
'/d/[:diyname]/[:id]' => 'cms/diyform/show',
'/special/[:diyname]' => 'cms/special/index',
'/u/[:id]' => 'cms/user/index',
'/[:diyname]$' => 'cms/channel/index',
'/[:catename]/[:id]$' => 'cms/archives/index',
'/docs/api' => 'docs/index/api',
'/docs/[:name]' => 'docs/index/index',
'/qrcode$' => 'qrcode/index/index',
'/qrcode/build$' => 'qrcode/index/build',
'/third$' => 'third/index/index',
'/third/connect/[:platform]' => 'third/index/connect',
'/third/callback/[:platform]' => 'third/index/callback',
'/third/bind/[:platform]' => 'third/index/bind',
'/third/unbind/[:platform]' => 'third/index/unbind',
],
'priority' => [],
'domain' => '',
];