Closed Kosonlee closed 4 months ago
$_ENV['notify_limit_mode'] = mb;
mb here should be a PHP string "mb", and only when you configure it as false you don't have to use the double quote because it is PHP boolean value(Yes I know this is a stupid design)
Hopefully, this can be refactored soon and made into something nicer.
OK,Thanks
Environment 环境
OS: Debian12 HTTPS enabled: yes PHP version: 8.3.8 DB version: 11.2.4-MariaDB Redis version: 7.2.5 Commit: 24.5.0
Bug Info
用户流量不足提醒
$_ENV['notify_limit_mode'] = mb; // false为关闭,per为按照百分比提醒,mb为按照固定剩余流量提醒 $_ENV['notify_limit_value'] = 500; // 当上一项为per时,此处填写百分比;当上一项为mb时,此处填写流量
填写为mb时 会导致无法访问。per同理
用户流量不足提醒
$_ENV['notify_limit_mode'] = per; // false为关闭,per为按照百分比提醒,mb为按照固定剩余流量提醒 $_ENV['notify_limit_value'] = 5; // 当上一项为per时,此处填写百分比;当上一项为mb时,此处填写流量
用户流量不足提醒
$_ENV['notify_limit_mode'] = per; // false为关闭,per为按照百分比提醒,mb为按照固定剩余流量提醒 $_ENV['notify_limit_value'] = 5%; // 当上一项为per时,此处填写百分比;当上一项为mb时,此处填写流量
修改为false即可恢复访问。无法提供Debug。