fastadmin 后台 隐藏 安全提示:为了你的后台安全,请勿将后台管理入口设置为admin或admin.php的提示

在admin模块的index控制器的index.html中注释

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

                {include file='common/header' /}
            </header>

 

posted @ 2022-04-28 16:03  zhang_you_wu  阅读(1387)  评论(0)    收藏  举报