mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
更新布局名称
This commit is contained in:
parent
a3c19a38fb
commit
21325a604c
@ -3,10 +3,14 @@
|
||||
namespace app\admin\controller;
|
||||
|
||||
use controller\BasicAdmin;
|
||||
use think\Db;
|
||||
|
||||
class Index extends BasicAdmin {
|
||||
|
||||
public function index() {
|
||||
$version = Db::query('select version() as ver');
|
||||
$version = array_pop($version);
|
||||
$this->assign('mysql_ver', $version['ver']);
|
||||
return view();
|
||||
}
|
||||
|
||||
|
@ -4,6 +4,77 @@
|
||||
{include file="extra@admin/top"}
|
||||
<div class="framework-body framework-sidebar-mini">
|
||||
<{include file="extra@admin/left"}>
|
||||
<div class="framework-container layer-main-container"></div>
|
||||
<div class="framework-container layer-main-container">
|
||||
<div style="padding:15px">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td>框架版本</td>
|
||||
<td>{$Think.const.THINK_VERSION}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>系统类型</td>
|
||||
<td>{:php_uname('s')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>运行环境</td>
|
||||
<td>{:php_sapi_name()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PHP版本</td>
|
||||
<td>{:phpversion()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MySQL版本</td>
|
||||
<td>{$mysql_ver}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>上传限制</td>
|
||||
<td>{:ini_get('upload_max_filesize')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>POST限制</td>
|
||||
<td>{:ini_get('post_max_size')}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td>框架版本</td>
|
||||
<td>{$Think.const.THINK_VERSION}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>系统类型</td>
|
||||
<td>{:php_uname('s')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>运行环境</td>
|
||||
<td>{:php_sapi_name()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PHP版本</td>
|
||||
<td>{:phpversion()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MySQL版本</td>
|
||||
<td>{$mysql_ver}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>上传限制</td>
|
||||
<td>{:ini_get('upload_max_filesize')}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>POST限制</td>
|
||||
<td>{:ini_get('post_max_size')}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
Loading…
x
Reference in New Issue
Block a user