diff --git a/app/admin/controller/Index.php b/app/admin/controller/Index.php index a90660e..a4f8dfb 100644 --- a/app/admin/controller/Index.php +++ b/app/admin/controller/Index.php @@ -53,6 +53,7 @@ class Index extends BaseController View::assign('goodsCount', $goodsCount); View::assign('fileCount', $fileCount); View::assign('install', $install); + View::assign('TP_VERSION',\think\facade\App::version()); return View(); } diff --git a/app/admin/view/index/main.html b/app/admin/view/index/main.html index 87263bd..71e26ca 100644 --- a/app/admin/view/index/main.html +++ b/app/admin/view/index/main.html @@ -142,7 +142,7 @@ ThinkPHP版本 - {:TP_VERSION}TP6文档 + {TP_VERSION}TP6文档 Layui版本 diff --git a/app/install/controller/Index.php b/app/install/controller/Index.php index 016a429..5e2295f 100644 --- a/app/install/controller/Index.php +++ b/app/install/controller/Index.php @@ -26,6 +26,7 @@ class Index public function index() { + View::assign('TP_VERSION',\think\facade\App::version()); return view('step1'); } diff --git a/app/install/view/index/step1.html b/app/install/view/index/step1.html index 4ec65d8..b6dfd30 100644 --- a/app/install/view/index/step1.html +++ b/app/install/view/index/step1.html @@ -34,7 +34,7 @@
-

勾股CMS是一套基于ThinkPHP{$TP_version} + Layui{:LAYUI_VERSION} + MySql打造的轻量级、高性能快速建站的内容管理系统。后台管理模块,一目了然,操作简单,通用型后台权限管理框架,紧随潮流、开箱即用,让WEB开发更简单!

+

勾股CMS是一套基于ThinkPHP{$TP_VERSION} + Layui{:LAYUI_VERSION} + MySql打造的轻量级、高性能快速建站的内容管理系统。后台管理模块,一目了然,操作简单,通用型后台权限管理框架,紧随潮流、开箱即用,让WEB开发更简单!

开源协议:
本系统遵循Apache Lisense 2.0开源协议发布,并提供免费使用。
Apache Licence是著名的非盈利开源组织Apache采用的协议。该协议和BSD类似,鼓励代码共享和尊重原作者的著作权,允许代码修改,再作为开源或商业软件发布。需要满足的条件: