DirectAdmin面板主题模板NeWorld流量信息显示不正确
Warning: Undefined variable $output in /home/wwwroot/xiaoyuo.com/wp-content/themes/ripro-child/functions.php on line 68
本文共449个字,预计阅读时间需要2分钟 发布时间: 2024-10-4 共3.37K人阅读
DirectAdmin面板主题模板NeWorld流量信息显示不正确
NeWorld模板有一些显示错误的地方,DirectAdmin面板终端用户登录流量显示的是GB而不是MB。流量显示数值实际上是按照MB计算的。
需要修改以下三个文件:
template_user_bottom.html
site_backup.html
user_stats.html
user_stats.html和template_user_bottom.html负责全局右侧信息的统计展示。
下图已修改所以显示的不是GB。

下改一下内容即可:
打开文件全文搜索GB,将其改成MB。

请注意,下面这一段内容请不要修改,默认显示GB。前面数值计算也是按照GB计算的。

下载仅供下载体验和测试学习,不得商用和正当使用。
常见问题FAQ
Warning: foreach() argument must be of type array|object, string given in /home/wwwroot/xiaoyuo.com/wp-content/themes/ripro-child/parts/author-box.php on line 12