init commit
This commit is contained in:
31
application/extra/addons.php
Normal file
31
application/extra/addons.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'autoload' => false,
|
||||
'hooks' => [
|
||||
'app_init' => [
|
||||
'qrcode',
|
||||
'wdsxh',
|
||||
],
|
||||
'config_init' => [
|
||||
'summernote',
|
||||
],
|
||||
'upgrade' => [
|
||||
'wdsxh',
|
||||
],
|
||||
],
|
||||
'route' => [
|
||||
'/qrcode$' => 'qrcode/index/index',
|
||||
'/qrcode/build$' => 'qrcode/index/build',
|
||||
'/$' => 'wdsxh/index/index',
|
||||
'/about/$' => 'wdsxh/index/about',
|
||||
'/contact/$' => 'wdsxh/index/contact',
|
||||
'/membership/$' => 'wdsxh/index/membership',
|
||||
'/news/$' => 'wdsxh/index/news',
|
||||
'/news/news_detail/$' => 'wdsxh/index/news_detail',
|
||||
'/header/$' => 'wdsxh/index/header',
|
||||
'/footer/$' => 'wdsxh/index/footer',
|
||||
],
|
||||
'priority' => [],
|
||||
'domain' => '',
|
||||
];
|
||||
Reference in New Issue
Block a user