您现在的位置是:首页 > 教程 > ecshop商城教程ecshop商城教程

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

代萱2023-12-09 22:24:05ecshop商城教程已有人查阅

导读管理员如果超过24小时进入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> –>
完成!

本文标签:

很赞哦! ()

留言与评论 (共有 条评论)
验证码:

本栏推荐

相关标签