echo plugin_dir_url(__FILE__); zblog 通过文件获取应用URL地址 返回插件目录的URL地址

zblog11个月前zblog问题解答29
<?php /** @var ZBLOGPHP $zbp */
require_once '../../../../zb_system/function/c_system_base.php';
require_once '../../../../zb_system/function/c_system_admin.php';
$zbp->Load();

echo plugin_dir_url(__FILE__);


# 输出 http://www.zblog.cn/zb_users/plugin/guiyi_fabu/


相关文章

linux打包压缩文件夹到指定压缩包

tar -czf /www/bug_fix/c9.tar.gz --ignore-failed-read -C /www/wwwroot/8.8.8.162/runtime/cache c9打包&nb...

base_convert 啥意思 PHP任意进制之间转换数字的函数

base_convert 是一个在任意进制之间转换数字的函数,通常用于编程语言中,如PHP。该函数接受三个参数:$number:要转换的数字,以字符串形式表示。$frombase:原始数字的...

linux时间错误 centos时间错误

timedatectl set-timezone Asia/Shanghai echo "Asia/Shanghai" | ...

zblog后台的字符图标 ico

zblog后台的字符图标https://zblog.gongshi5.com/tool/ico.html...

set_time_limit(0); // PHP取消脚本最大执行时间限制

set_time_limit(0); // 取消脚本最大执行时间限制...

Nginx规则 重定向

location ~* /show/.*\.(?:jpg|webp) {   rewrite ^/show/(.*)$ /$1&...