ecshop

ecshop后台api检查删除 no_license点击查看

ECSHOP教程 来源: ECSHOP教程网www.ecshop119.com 时间:2012-05-26 ECSHOP教程分类:ECSHOP后台管理修改

管理員如果超過24小時進入 ECShop 管理中心會自動執行版本檢查,但有時網路品質不良,連線速度異常時,容易拖慢網頁速度,因此,去掉版本檢查有其必要性。
删除后请自己随时关注版本升级以及漏洞,建议一定要更改默认的后台目录!

經搜尋結果共找到四處:
1、admin\index.php 約519行
$api_comment = $t->request(‘http://api.ecshop.com/checkver.php’, $apiget);

改為
//        $api_comment = $t->request('http://api.ecshop.com/checkver.php', $apiget);

2、admin\shop_config.php 約231行

$spt = ‘<script type="text/javascript" src="http://api.ecshop.com/record.php?’;
$spt .= "url=" .urlencode($ecs->url());
$spt .= "&shop_name=" .urlencode($_CFG['shop_name']);
$spt .= "&shop_title=".urlencode($_CFG['shop_title']);
$spt .= "&shop_desc=" .urlencode($_CFG['shop_desc']);
$spt .= "&shop_keywords=" .urlencode($_CFG['shop_keywords']);
$spt .= "&country=".urlencode($shop_country)."&province=".urlencode($shop_province)."&city=".urlencode($shop_city);
$spt .= "&address=" .urlencode($_CFG['shop_address']);
$spt .= "&qq=$_CFG[qq]&ww=$_CFG[ww]&ym=$_CFG[ym]&msn=$_CFG[msn]";
$spt .= "&email=$_CFG[service_email]&phone=$_CFG[service_phone]&icp=".urlencode($_CFG['icp_number']);
$spt .= "&version=".VERSION."&language=$_CFG[lang]&php_ver=" .PHP_VERSION. "&mysql_ver=" .$db->version();
$spt .= "&charset=".EC_CHARSET;
$spt .= ‘"></script>’;

加上註解
/*$spt = ‘<script type="text/javascript" src="http://api.ecshop.com/record.php?’;
$spt .= "url=" .urlencode($ecs->url());
$spt .= "&shop_name=" .urlencode($_CFG['shop_name']);
$spt .= "&shop_title=".urlencode($_CFG['shop_title']);
$spt .= "&shop_desc=" .urlencode($_CFG['shop_desc']);
$spt .= "&shop_keywords=" .urlencode($_CFG['shop_keywords']);
$spt .= "&country=".urlencode($shop_country)."&province=".urlencode($shop_province)."&city=".urlencode($shop_city);
$spt .= "&address=" .urlencode($_CFG['shop_address']);
$spt .= "&qq=$_CFG[qq]&ww=$_CFG[ww]&ym=$_CFG[ym]&msn=$_CFG[msn]";
$spt .= "&email=$_CFG[service_email]&phone=$_CFG[service_phone]&icp=".urlencode($_CFG['icp_number']);
$spt .= "&version=".VERSION."&language=$_CFG[lang]&php_ver=" .PHP_VERSION. "&mysql_ver=" .$db->version();
$spt .= "&charset=".EC_CHARSET;
$spt .= ‘"></script>’;*/

3、admin\templates\index.htm 約26行
<frame src="http://api.ecshop.com/record.php?mod=login&url={$shop_url}" id="hidd-frame" name="hidd-frame" frameborder="no" scrolling="no">

加上註解
<!– <frame src="http://api.ecshop.com/record.php?mod=login&url={$shop_url}" id="hidd-frame" name="hidd-frame" frameborder="no" scrolling="no"> –>

4、admin\templates\menu.htm 約143行
<script language="JavaScript" src="http://api.ecshop.com/menu_ext.php?charset={$charset}&lang={$help_lang}"></script>

加上註解
<!– <script language="JavaScript" src="http://api.ecshop.com/menu_ext.php?charset={$charset}&lang={$help_lang}"></script> –>

完成!

转载请注明:ECSHOP模板屋-ECshop教程网https://www.ecshop119.com/ecshopjc-550.html

ECSHOP
ecshop下载 ecshop安装教程 ecshop在线演示 ecshop后台测试
ECSHOP二次开发手册
ecshop教程 ecshop二次开发 ecshop模板教程 ecshop微信配置
ECSHOP商城网站建设
ecshop空间域名 ecshop商城建设 ecshop模板修改 ecshop开发定制
ECSHOP模板屋
ecshop开发团队 ecshop开发中心 ecshop模板制作 模板屋简介
服务支持:7X24小时 151 059 55077
ECShop二次开发
ecshop搭建
qqtelcodeback_top
温馨提示

确定取消
温馨提示

关闭