【教程】宝塔7.7.0永久插件修改教程
在路径:/www/server/panel/class/panelPlugin.py 文件处
在如图位置插入代码(有两处,并且要严格对齐)
插入位置:softList['list'] = tmpList 下
if os.path.exists(lcoalTmp): os.remove(lcoalTmp) 下

代码如下:
softList['pro'] = 1
for soft in softList['list']:
soft['endtime'] = 0
第三方付费插件不能用,其他可以使用。
教程 2021-09-19 11:09:43 通过 网页 浏览(118)
共有0条评论!