1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

Merge pull request #1256 from TorstenDittmann/feat-dbip-2021-06

feat(dbip): update to 2021-06
This commit is contained in:
Eldad A. Fux 2021-06-07 23:55:25 +03:00 committed by GitHub
commit a4d460faf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ then
exit 1
fi
if test $(find "./app/db/DBIP/dbip-country-lite-2021-02.mmdb" -mmin +259200)
if test $(find "./app/db/DBIP/dbip-country-lite-2021-06.mmdb" -mmin +259200)
then
printf "${RED}GEO country DB has not been updated for more than 6 months. Go to https://db-ip.com/db/download/ip-to-country-lite to download a newer version${NC}\n"
fi

Binary file not shown.

View file

@ -233,7 +233,7 @@ $register->set('smtp', function () {
return $mail;
});
$register->set('geodb', function () {
return new Reader(__DIR__.'/db/DBIP/dbip-country-lite-2021-02.mmdb');
return new Reader(__DIR__.'/db/DBIP/dbip-country-lite-2021-06.mmdb');
});
/*