zblog常用简写
print_r($zbp->currenturl); # 当前url 路径
访问 www.zblog.cn/post/123.html
就是 /post/123.html
echo $zbp->theme; # 当前主题名字 tpure
$zbp->Config('aaaaaTheme2')->domain 访问一个不存在的 设置
会返回NULL 可用来通过真假 来判断是否存在print_r($zbp->currenturl); # 当前url 路径
访问 www.zblog.cn/post/123.html
就是 /post/123.html
echo $zbp->theme; # 当前主题名字 tpure
$zbp->Config('aaaaaTheme2')->domain 访问一个不存在的 设置
会返回NULL 可用来通过真假 来判断是否存在在phpstorm中 $zbp->Load(); $zbp下面会刷红提示 未定义的变量 '$zbp' 但是在 require 'function/c_syst...
(((25[0-5])|(2[0-4]\d)|(1\d{2})|([1-9]\d)|(\d))\.){3}((25[0-5])|(2[0-4]\d)|(1\d{2})|([1-9]\d)|(\d))如...
pip3 install -i http://mirrors.aliyun.com/pypi/simple/ mysql-connector-python==8.0.33 --trusted-host...
$this->isreplacehost = false;阻止 zb_system/function/lib/base.php 类的替换行为public ...
大括号转义问题: Nginx配置文件中,大括号{}默认用于配置块(如server{}),直接用在正则表达式中会被误解析。 解决方案:用单引号包裹正则表达式(推荐),或转义大括号(但转义可能不生效,...
BuildSafeURL($zbp->host.'zb_users/plugin/chajianming/my.php') 输出 http://w...