Implemented Settings
Improved cronjob Fixed Views Added env encryption key for encrypting sensitive data in database.
This commit is contained in:
@@ -679,11 +679,19 @@ class WhoisService
|
||||
{
|
||||
// Check if domain is available (not registered)
|
||||
foreach ($statusArray as $status) {
|
||||
if (stripos($status, 'AVAILABLE') !== false || stripos($status, 'FREE') !== false) {
|
||||
if (stripos($status, 'AVAILABLE') !== false ||
|
||||
stripos($status, 'FREE') !== false ||
|
||||
stripos($status, 'NO MATCH') !== false ||
|
||||
stripos($status, 'NOT FOUND') !== false) {
|
||||
return 'available';
|
||||
}
|
||||
}
|
||||
|
||||
// Also check if expiration date is null and no status indicates it's registered
|
||||
if ($expirationDate === null && empty($statusArray)) {
|
||||
return 'available';
|
||||
}
|
||||
|
||||
$days = $this->daysUntilExpiration($expirationDate);
|
||||
|
||||
if ($days === null) {
|
||||
|
||||
Reference in New Issue
Block a user