Browse Source

!224 修复管理入口文件名不能包含admin
Merge pull request !224 from youwo/dev

Karson 5 years ago
parent
commit
bae3079574
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/admin/view/index/index.html

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

@@ -10,7 +10,7 @@
 
 
             <!-- 头部区域 -->
             <!-- 头部区域 -->
             <header id="header" class="main-header">
             <header id="header" class="main-header">
-                {if preg_match('/\/admin\/|admin\.php|admin_d75KABNWt\.php/i', url())}
+                {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')}
                     {:__('Security tips')}
                 </div>
                 </div>