From ecbd02f8b650db0d562f6c0acaf268764191830c Mon Sep 17 00:00:00 2001 From: toogee Date: Wed, 13 May 2020 17:06:56 +0800 Subject: [PATCH] install view --- app/install/config/view.php | 25 +++++++++++++++++++ app/install/data/taoler.sql | 2 +- .../install/view}/index/agreement.html | 0 .../install/view}/index/base.html | 0 .../install/view}/index/create.html | 0 .../install/view}/index/test.html | 0 .../install/view}/success/complete.html | 0 view/{install => }/404.html | 0 8 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 app/install/config/view.php rename {view/install => app/install/view}/index/agreement.html (100%) rename {view/install => app/install/view}/index/base.html (100%) rename {view/install => app/install/view}/index/create.html (100%) rename {view/install => app/install/view}/index/test.html (100%) rename {view/install => app/install/view}/success/complete.html (100%) rename view/{install => }/404.html (100%) diff --git a/app/install/config/view.php b/app/install/config/view.php new file mode 100644 index 0000000..01259a0 --- /dev/null +++ b/app/install/config/view.php @@ -0,0 +1,25 @@ + 'Think', + // 默认模板渲染规则 1 解析为小写+下划线 2 全部转换小写 3 保持操作方法 + 'auto_rule' => 1, + // 模板目录名 + 'view_dir_name' => 'view', + // 模板后缀 + 'view_suffix' => 'html', + // 模板文件名分隔符 + 'view_depr' => DIRECTORY_SEPARATOR, + // 模板引擎普通标签开始标记 + 'tpl_begin' => '{', + // 模板引擎普通标签结束标记 + 'tpl_end' => '}', + // 标签库标签开始标记 + 'taglib_begin' => '{', + // 标签库标签结束标记 + 'taglib_end' => '}', +]; diff --git a/app/install/data/taoler.sql b/app/install/data/taoler.sql index 5eb46dd..10611f0 100644 --- a/app/install/data/taoler.sql +++ b/app/install/data/taoler.sql @@ -330,7 +330,7 @@ CREATE TABLE `tao_system` ( PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='系统配置表'; -INSERT INTO `tao_system` VALUES ('1', 'TaoLer社区演示站', '轻论坛系统', 'http://www.xxx.com', 'taoler', '/storage/logo/logo.png', '10', '2048', 'png|gif|jpg|jpeg|zip|rarr', 'aieok.com 版权所有', 'TaoLer,轻社区系统,bbs,论坛,Thinkphp6,layui,fly模板,', '这是一个Taoler轻社区论坛系统', '1', '1', '1', '0.0.0.0', '管理员|admin|审核员|超级|垃圾', '1.0.0', '', 'http://www.aieok.com/api/index/cy', 'http://www.aieok.com/api/upload/check', 'http://www.aieok.com/api/upload/api', '1581221008', '1577419197'); +INSERT INTO `tao_system` VALUES ('1', 'TaoLer社区演示站', '轻论坛系统', 'http://www.xxx.com', 'taoler', '/storage/logo/logo.png', '10', '2048', 'png|gif|jpg|jpeg|zip|rarr', 'aieok.com 版权所有', 'TaoLer,轻社区系统,bbs,论坛,Thinkphp6,layui,fly模板,', '这是一个Taoler轻社区论坛系统', '1', '1', '1', '0.0.0.0', '管理员|admin|审核员|超级|垃圾', '1.0.0', '', 'http://api.aieok.com/v1/index/cy', 'http://api.aieok.com/v1/upload/check', 'http://api.aieok.com/v1/upload/api', '1581221008', '1577419197'); DROP TABLE IF EXISTS `tao_user`; diff --git a/view/install/index/agreement.html b/app/install/view/index/agreement.html similarity index 100% rename from view/install/index/agreement.html rename to app/install/view/index/agreement.html diff --git a/view/install/index/base.html b/app/install/view/index/base.html similarity index 100% rename from view/install/index/base.html rename to app/install/view/index/base.html diff --git a/view/install/index/create.html b/app/install/view/index/create.html similarity index 100% rename from view/install/index/create.html rename to app/install/view/index/create.html diff --git a/view/install/index/test.html b/app/install/view/index/test.html similarity index 100% rename from view/install/index/test.html rename to app/install/view/index/test.html diff --git a/view/install/success/complete.html b/app/install/view/success/complete.html similarity index 100% rename from view/install/success/complete.html rename to app/install/view/success/complete.html diff --git a/view/install/404.html b/view/404.html similarity index 100% rename from view/install/404.html rename to view/404.html