平锟斤拷锟皆猴拷锟接碉拷源是什么意思

锟节撅拷锟斤拷群锟斤拷锟斤拷锟饺猴拷锟斤拷锟,锟斤拷始时锟斤拷锟侥筹拷锟斤拷药锟酵猴拷,平锟斤拷锟皆猴拷锟接碉拷源是什么意思,锟揭斤拷锟阶达拷锟侥斤拷锟斤拷锟剿o拷没锟叫撅拷锟…,下面小编来给大家介绍一下,一起来了解一下吧!

ecshop����߱���ʱ�ر���վ�Ĺ��ܣ��������Զ���رյĹ��档��ôecshop��ʱ�رպ����Ա��ο��Բ鿴ҳ���أ�

�� /includes/init.php �ļ�

�ҵ���Լ122�У�

if ($_CFG['shop_closed'] == 1)  

{  

    /* �̵�ر��ˣ�����رյ���Ϣ */  

    header('Content-type: text/html; charset='.EC_CHARSET);  

    die('<div style="margin: 150px; text-align: center; font-size: 14px"><p>' . $_LANG['shop_closed'] . '</p><p>' . $_CFG['close_comment'] . '</p></div>');  

}


�޸�Ϊ

if ($_CFG['shop_closed'] == 1)  

{  

    /* �̵�ر��ˣ�����رյ���Ϣ */  

    if (!isset($_SESSION['admin_name']))  

    {  

        header('Content-type: text/html; charset='.EC_CHARSET);  

        die('<div style="margin: 150px; text-align: center; font-size: 14px"><p>' . $_LANG['shop_closed'] . '</p><p>' . $_CFG['close_comment'] . '</p></div>');      

    }  

}

更多教程关注FF推源码网。

提供最优质的资源集合

立即查看 了解详情