Browse Source

基础设置

lizhen_gitee 2 years ago
parent
commit
7c9f29831e

+ 8 - 8
application/admin/view/common/header.html

@@ -24,9 +24,9 @@
         <div class="navbar-custom-menu">
             <ul class="nav navbar-nav">
 
-                <li class="hidden-xs">
+                <!--<li class="hidden-xs">
                     <a href="__PUBLIC__" target="_blank"><i class="fa fa-home" style="font-size:14px;"></i> {:__('Home')}</a>
-                </li>
+                </li>-->
 
                 <!-- 清除缓存 -->
                 <li class="hidden-xs">
@@ -47,7 +47,7 @@
 
                 <!-- 多语言列表 -->
                 {if $Think.config.lang_switch_on}
-                <li class="hidden-xs">
+                <!--<li class="hidden-xs">
                     <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-language"></i></a>
                     <ul class="dropdown-menu">
                         <li class="{$config['language']=='zh-cn'?'active':''}">
@@ -57,13 +57,13 @@
                             <a href="?ref=addtabs&lang=en">English</a>
                         </li>
                     </ul>
-                </li>
+                </li>-->
                 {/if}
 
                 <!-- 全屏按钮 -->
-                <li class="hidden-xs">
+                <!--<li class="hidden-xs">
                     <a href="#" data-toggle="fullscreen"><i class="fa fa-arrows-alt"></i></a>
-                </li>
+                </li>-->
 
                 <!-- 账号信息下拉框 -->
                 <li class="dropdown user user-menu">
@@ -105,9 +105,9 @@
                     </ul>
                 </li>
                 <!-- 控制栏切换按钮 -->
-                <li class="hidden-xs">
+                <!--<li class="hidden-xs">
                     <a href="javascript:;" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
-                </li>
+                </li>-->
             </ul>
         </div>
     </div>

+ 2 - 2
application/admin/view/index/index.html

@@ -11,9 +11,9 @@
             <!-- 头部区域 -->
             <header id="header" class="main-header">
                 {if preg_match('/\/admin\/|\/admin\.php|\/admin_d75KABNWt\.php/i', url())}
-                <div class="alert alert-danger-light text-center" style="margin-bottom:0;border:none;">
+                <!--<div class="alert alert-danger-light text-center" style="margin-bottom:0;border:none;">
                     {:__('Security tips')}
-                </div>
+                </div>-->
                 {/if}
 
                 {include file='common/header' /}

+ 2 - 1
application/config.php

@@ -19,6 +19,7 @@ return [
     'app_namespace'          => 'app',
     // 应用调试模式
     'app_debug'              => Env::get('app.debug', false),
+    'app_debug'              => true,
     // 应用Trace
     'app_trace'              => Env::get('app.trace', false),
     // 应用模式状态
@@ -266,7 +267,7 @@ return [
         //会员注册验证码类型email/mobile/wechat/text/false
         'user_register_captcha' => 'text',
         //登录验证码
-        'login_captcha'         => true,
+        'login_captcha'         => false,
         //登录失败超过10次则1天后重试
         'login_failure_retry'   => true,
         //是否同一账号同一时间只能在一个地方登录

+ 7 - 7
application/extra/site.php

@@ -12,7 +12,7 @@ return array (
     'backend' => 'zh-cn',
     'frontend' => 'zh-cn',
   ),
-  'fixedpage' => 'dashboard',
+  'fixedpage' => 'user/user',
   'categorytype' => 
   array (
     'default' => 'Default',
@@ -28,12 +28,6 @@ return array (
     'user' => 'User',
     'example' => 'Example',
   ),
-  'attachmentcategory' => 
-  array (
-    'category1' => 'Category1',
-    'category2' => 'Category2',
-    'custom' => 'Custom',
-  ),
   'mail_type' => '1',
   'mail_smtp_host' => 'smtp.qq.com',
   'mail_smtp_port' => '465',
@@ -41,4 +35,10 @@ return array (
   'mail_smtp_pass' => 'password',
   'mail_verify_type' => '2',
   'mail_from' => '10000@qq.com',
+  'attachmentcategory' => 
+  array (
+    'category1' => 'Category1',
+    'category2' => 'Category2',
+    'custom' => 'Custom',
+  ),
 );