打开文件夹/data/data/com.tecent.mm/
搜索mmregioncode
找到mmregioncode_zh_cn.txt文件
把自己定位的省市那一行删除
打开微信 改地区 用定位
BBR
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
V2ray
yum install -y curl
bash <(curl -sL https://raw.githubusercontent.com/hiifeng/v2ray/main/install_v2ray.sh)
配置:4
Cloudflare
安全性→设置→安全级别→本质上为关
SSL/TLS:完全
端口:8443
rm -f /www/server/panel/data/admin_path.plwget http://download.bt.cn/install/bt-uninstall.sh
sh bt-uninstall.shBBR
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.shX-UI
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)将以下代码放在主题文件functions.php, 或core/core.php文件里
function get_last_login($user){
$user = '1';
$now = time();
$db = Typecho_Db::get();
$prefix = $db->getPrefix();
$row = $db->fetchRow($db->select('activated')->from('table.users')->where('uid = ?', $user));
echo Typecho_I18n::dateWord($row['activated'], $now);
}然后在想要显示的位置调用以下代码
博主 <?php get_last_login(1); ?> 在线