mirror of
https://github.com/itflow-org/itflow
synced 2026-03-05 21:34:51 +00:00
Merge pull request #500 from wrongecho/fix-domain-expire-lookup-url
Change domain expiration lookup service from Heroku to ITFlow
This commit is contained in:
@@ -362,7 +362,7 @@ function getDomainExpirationDate($name){
|
|||||||
}
|
}
|
||||||
|
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
curl_setopt($ch, CURLOPT_URL, "https://itflow-whois.herokuapp.com/$name");
|
curl_setopt($ch, CURLOPT_URL, "http://lookup.itflow.org:8080/$name");
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
|
||||||
$response = json_decode(curl_exec($ch),1);
|
$response = json_decode(curl_exec($ch),1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user