\source\function\function_core.php
搜索
- function userappprompt() {
- global $_G;
- if($_G['setting']['my_app_status'] && $_G['setting']['my_openappprompt'] && empty($_G['cookie']['userappprompt'])) {
- $sid = $_G['setting']['my_siteid'];
- $ts = $_G['timestamp'];
- $key = md5($sid.$ts.$_G['setting']['my_sitekey']);
- $uchId = $_G['uid'] ? $_G['uid'] : 0;
- echo '<script type="text/javascript" src="http://notice.uchome.manyou.com/notice/userNotice?sId='.$sid.'&ts='.$ts.'&key='.$key.'&uchId='.$uchId.'" charset="UTF-8"></script>';
- }
- }
复制代码
修改为
- function userappprompt() {
- global $_G;
- /*if($_G['setting']['my_app_status'] && $_G['setting']['my_openappprompt'] && empty($_G['cookie']['userappprompt'])) {
- $sid = $_G['setting']['my_siteid'];
- $ts = $_G['timestamp'];
- $key = md5($sid.$ts.$_G['setting']['my_sitekey']);
- $uchId = $_G['uid'] ? $_G['uid'] : 0;
- echo '<script type="text/javascript" src="http://notice.uchome.manyou.com/notice/userNotice?sId='.$sid.'&ts='.$ts.'&key='.$key.'&uchId='.$uchId.'" charset="UTF-8"></script>';
- }*/
- }
复制代码
\source\class\helper\helper_manyou.php
- public static function checkupdate() {
- global $_G;
- if($_G['setting']['my_app_status'] && empty($_G['setting']['my_closecheckupdate']) && $_G['group']['radminid'] == 1) {
- $sid = $_G['setting']['my_siteid'];
- $ts = $_G['timestamp'];
- $key = md5($sid.$ts.$_G['setting']['my_sitekey']);
- echo '<script type="text/javascript" src="http://notice.uchome.manyou.com/notice?sId='.$sid.'&ts='.$ts.'&key='.$key.'" charset="UTF-8"></script>';
- }
- }
复制代码
改为
- public static function checkupdate() {
- global $_G;
- /*if($_G['setting']['my_app_status'] && empty($_G['setting']['my_closecheckupdate']) && $_G['group']['radminid'] == 1) {
- $sid = $_G['setting']['my_siteid'];
- $ts = $_G['timestamp'];
- $key = md5($sid.$ts.$_G['setting']['my_sitekey']);
- echo '<script type="text/javascript" src="http://notice.uchome.manyou.com/notice?sId='.$sid.'&ts='.$ts.'&key='.$key.'" charset="UTF-8"></script>';
- }*/
- }
复制代码 |
|
|
|
|