Fix premDays count in canary

This commit is contained in:
slawkens
2025-10-15 15:49:58 +02:00
parent c88b08eb1e
commit 3e61692780
2 changed files with 11 additions and 0 deletions

View File

@@ -1704,6 +1704,12 @@ function getAccountIdentityColumn(): string
return 'id';
}
function isCanary(): bool
{
$vipSystemEnabled = configLua('vipSystemEnabled');
return isset($vipSystemEnabled);
}
// validator functions
require_once SYSTEM . 'compat/base.php';