init commit
This commit is contained in:
37
addons/wdsxh/config.php
Normal file
37
addons/wdsxh/config.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'name' => 'theme',
|
||||
'title' => '前台模板',
|
||||
'type' => 'string',
|
||||
'content' => [],
|
||||
'value' => 'default',
|
||||
'rule' => '',
|
||||
'msg' => '',
|
||||
'tip' => '请确保addons/wdsxh/view有相应的目录',
|
||||
'ok' => '',
|
||||
'extend' => '',
|
||||
],
|
||||
[
|
||||
'name' => 'rewrite',
|
||||
'title' => '伪静态',
|
||||
'type' => 'array',
|
||||
'content' => [],
|
||||
'value' => [
|
||||
'index/index' => '/$',
|
||||
'index/about' => '/about/$',
|
||||
'index/contact' => '/contact/$',
|
||||
'index/membership' => '/membership/$',
|
||||
'index/news' => '/news/$',
|
||||
'index/news_detail' => '/news/news_detail/$',
|
||||
'index/header' => '/header/$',
|
||||
'index/footer' => '/footer/$',
|
||||
],
|
||||
'rule' => 'required',
|
||||
'msg' => '',
|
||||
'tip' => '',
|
||||
'ok' => '',
|
||||
'extend' => '',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user