mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: reset day
This commit is contained in:
parent
f9e55a3905
commit
8a894a9a32
@ -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');
|
||||
$today = date('d', strtotime('-1 day'));
|
||||
$lastDay = date('d', strtotime('last day of +0 months'));
|
||||
|
||||
if ((int)config('v2board.reset_traffic_method') === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user