!224 修复管理入口文件名不能包含admin

Merge pull request !224 from youwo/dev
pull/224/MERGE
Karson 2020-08-19 21:28:12 +08:00 committed by Gitee
commit bae3079574
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<!-- 头部区域 -->
<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;">
{:__('Security tips')}
</div>