fix: 显式设置插件名与路径,解决带下划线插件缓存与解析异常

这个提交包含在:
wikiboss
2026-09-12 17:01:00 +08:00
父节点 573b18bcc9
当前提交 c3def1b4d2
共有 2 个文件被更改,包括 16 次插入 和 0 次删除

查看文件

@@ -9,6 +9,14 @@ use think\Db;
class Shopro_huifu extends Addons
{
public function __construct()
{
$this->addonName = 'shopro_huifu';
$this->addonPath = ADDON_PATH . 'shopro_huifu' . DS;
$this->addons_path = $this->addonPath;
parent::__construct();
}
public function install()
{
Installer::run();

查看文件

@@ -8,6 +8,14 @@ use think\Addons;
class Shopro_wechat_trade extends Addons
{
public function __construct()
{
$this->addonName = 'shopro_wechat_trade';
$this->addonPath = ADDON_PATH . 'shopro_wechat_trade' . DS;
$this->addons_path = $this->addonPath;
parent::__construct();
}
public function install()
{
Installer::run();