01 2022 档案

摘要:配置网站的根目录中的.htaccess文件配置 <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /index.php?/$1 阅读全文
posted @ 2022-01-13 16:46 甜甜小野猫 阅读(61) 评论(0) 推荐(0)
摘要:通过phpstudy(小皮面板)新建的站点无法访问或直接访问线上的站点 可能是C:\Windows\System32\drivers\etc中的hosts文件文件内容缺失导致 以下是win10的hosts文件初始内容 # Copyright (c) 1993-2009 Microsoft Corp. 阅读全文
posted @ 2022-01-11 22:02 甜甜小野猫 阅读(9520) 评论(0) 推荐(0)
摘要:核心代码class Wechat { public function __construct() { //构造函数直接调用微信官方给的私有方法 $this->checkSignature(); } private function checkSignature() { $signature = $_ 阅读全文
posted @ 2022-01-09 11:24 甜甜小野猫 阅读(134) 评论(0) 推荐(0)