update: reset day

This commit is contained in:
tokumeikoi 2020-12-04 21:17:25 +08:00
parent 896d9eb030
commit 254fdf6049

View File

@ -165,7 +165,7 @@ class UserController extends Controller
{
if ($user->expired_at <= time() || $user->expired_at === NULL) return null;
$day = date('d', $user->expired_at);
$today = date('d', strtotime('-1 day'));
$today = date('d');
$lastDay = date('d', strtotime('last day of +0 months'));
if ((int)config('v2board.reset_traffic_method') === 0) {