🔧 Update npm + login page

This commit is contained in:
TiclemFR
2024-01-25 14:00:48 +01:00
parent 468c2cd0e6
commit 336f2bae93
128 changed files with 3078 additions and 2368 deletions

View File

@@ -1740,6 +1740,8 @@ class LazyCollection implements CanBeEscapedWhenCastToString, Enumerable
*/
protected function now()
{
return Carbon::now()->timestamp;
return class_exists(Carbon::class)
? Carbon::now()->timestamp
: time();
}
}