宝塔7.4.5安装网站监控报表

自从更新了宝塔7.4.5以来觉得方便,瞬间觉得5.9没那么香了。由于宝塔的网站监控报表要19块钱一个月,自己动动手又能省下来了了,主要是很方便看蜘蛛的记录。特此记录过程预防忘记
首先到打开/www/server/panel/class找到panelplugin.py这个文件,编辑
搜索下面这个代码(在334行)(先备份后面可能会用到)

softList['list'] = tmpList


然后在其下方添加

softList['pro'] = 1
        for soft in softList['list']:
            soft['endtime'] = 0

效果如下

保存然后重启一下面板,然后你就发现可以下载所有付费插件了。
此时你会发现个问题,下载插件但打开会显示过期了。此时需要修改一下插件的数据
网站监控报表的位置在在/www/server/panel/plugin/total/中找到 total_main.py这个文件,打开编辑
搜索如下代码(在168行)

if 'bt_total' in session: return public.returnMsg(True,'OK!');

在下方代码下面加入一段代码

session['bt_total'] = True
        return public.returnMsg(True,'OK!');

效果图

保持重启面板后你会发现可以用了

警告:不要点击修复按钮,不然得重来
2020.11.12:经测试,专业版的所有插件都可以使用
bug:安装第三方插件的时候会显示校验错误,得把/www/server/panel/class找到panelplugin.py这个文件恢复备份即可安装

未经允许不得转载:萌小富 » 宝塔7.4.5安装网站监控报表

赞 (1) 打赏

评论11111 16

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. 头像
    咸鱼鱼难道就不是咸鱼嘛{{weixiao}} {{weixiao}} {{weixiao}}回复
  2. 头像
    恍恍惚惚???回复
  3. 头像
    filmi izleVery good article! We are linking to this particularly great article on our site. Keep up the good writing. Tommy Sven Jennee回复
    • 头像
      451555505很荣幸能解决你的问题,也很高兴你螚链接到我文章回复
  4. 头像
    filmi izleI quite like looking through a post that can make people think. Also, thanks for permitting me to comment. Ainsley Jorgan MacMullin回复
    • 头像
      451555505很荣幸能解决你的问题回复
  5. 头像
    onlineNice post. I learn something totally new and challenging on sites I stumbleupon on a daily basis. It will always be exciting to read articles from other writers and use a little something from their web sites. Kali Ad Concepcion回复
    • 头像
      451555505很荣幸能解决你的问题回复
  6. 头像
    dublajI think this is a real great article post. Really thank you! Fantastic. Marta Artair Erastus回复
    • 头像
      451555505很荣幸能解决你的问题回复
  7. 头像
    altyaziliEvery when inside a although we decide on blogs that we read. Listed below are the most recent web sites that we pick out Marita Salomo Procora回复
    • 头像
      451555505很荣幸能解决你的问题回复
  8. 头像
    movie onlineHi there. I discovered your blog by the use of Google even as looking for a similar matter, your web site got here up. It appears great. I have bookmarked it in my google bookmarks to visit then. Adel Spike Laird回复
    • 头像
      451555505很荣幸能解决你的问题😀回复
  9. 头像
    onlineDo you have a spam problem on this website; I also am a blogger, and I was wondering your situation; many of us have created some nice methods and we are looking to trade methods with others, be sure to shoot me an e-mail if interested.| Fanny Trenton Venuti回复
    • 头像
      451555505It's just spam回复

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

Title - Artist
0:00