无限星辰工作室-客户无限互联网动力之源

标题: Discuz!x3.2 完全关闭漫游 [打印本页]

作者: crx349    时间: 2018-6-30 14:11
标题: Discuz!x3.2 完全关闭漫游

\source\function\function_core.php
搜索
  1. function userappprompt() {
  2.         global $_G;

  3.         if($_G['setting']['my_app_status'] && $_G['setting']['my_openappprompt'] && empty($_G['cookie']['userappprompt'])) {
  4.                 $sid = $_G['setting']['my_siteid'];
  5.                 $ts = $_G['timestamp'];
  6.                 $key = md5($sid.$ts.$_G['setting']['my_sitekey']);
  7.                 $uchId = $_G['uid'] ? $_G['uid'] : 0;
  8.                 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>';
  9.         }
  10. }
复制代码


修改为
  1. function userappprompt() {
  2.         global $_G;

  3.         /*if($_G['setting']['my_app_status'] && $_G['setting']['my_openappprompt'] && empty($_G['cookie']['userappprompt'])) {
  4.                 $sid = $_G['setting']['my_siteid'];
  5.                 $ts = $_G['timestamp'];
  6.                 $key = md5($sid.$ts.$_G['setting']['my_sitekey']);
  7.                 $uchId = $_G['uid'] ? $_G['uid'] : 0;
  8.                 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>';
  9.         }*/
  10. }
复制代码


\source\class\helper\helper_manyou.php

  1.         public static function checkupdate() {
  2.                 global $_G;
  3.                 if($_G['setting']['my_app_status'] && empty($_G['setting']['my_closecheckupdate']) && $_G['group']['radminid'] == 1) {
  4.                         $sid = $_G['setting']['my_siteid'];
  5.                         $ts = $_G['timestamp'];
  6.                         $key = md5($sid.$ts.$_G['setting']['my_sitekey']);
  7.                         echo '<script type="text/javascript" src="http://notice.uchome.manyou.com/notice?sId='.$sid.'&ts='.$ts.'&key='.$key.'" charset="UTF-8"></script>';
  8.                 }
  9.         }
复制代码


改为
  1.         public static function checkupdate() {
  2.                 global $_G;
  3.                 /*if($_G['setting']['my_app_status'] && empty($_G['setting']['my_closecheckupdate']) && $_G['group']['radminid'] == 1) {
  4.                         $sid = $_G['setting']['my_siteid'];
  5.                         $ts = $_G['timestamp'];
  6.                         $key = md5($sid.$ts.$_G['setting']['my_sitekey']);
  7.                         echo '<script type="text/javascript" src="http://notice.uchome.manyou.com/notice?sId='.$sid.'&ts='.$ts.'&key='.$key.'" charset="UTF-8"></script>';
  8.                 }*/
  9.         }
复制代码





欢迎光临 无限星辰工作室-客户无限互联网动力之源 (https://xmspace.net/) Powered by Discuz! X3.4