mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-10-24 01:35:23 +08:00
Fix activation checks across start-date boundaries (#395)
This commit is contained in:
@@ -223,7 +223,7 @@ class Account {
|
||||
global $database;
|
||||
|
||||
// ==================== VERIFICARE DATA DE START A SERVERULUI ====================
|
||||
if (START_DATE < date('d.m.Y') || (START_DATE === date('d.m.Y') && START_TIME <= date('H:i'))) {
|
||||
if (\App\Utils\DateTime::hasServerStarted(START_DATE, START_TIME)) {
|
||||
|
||||
// Caută codul de activare în tabela activate
|
||||
$code = trim($_POST['id'] ?? '');
|
||||
|
||||
Reference in New Issue
Block a user