chore(geodb): update maxmind db to 2021-10
This commit is contained in:
parent
b6f129a7d4
commit
7de15ab7f5
|
@ -15,7 +15,7 @@ then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test $(find "./app/db/DBIP/dbip-country-lite-2021-06.mmdb" -mmin +259200)
|
if test $(find "./app/db/DBIP/dbip-country-lite-2021-10.mmdb" -mmin +259200)
|
||||||
then
|
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"
|
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
|
fi
|
||||||
|
|
Binary file not shown.
BIN
app/db/DBIP/dbip-country-lite-2021-10.mmdb
Normal file
BIN
app/db/DBIP/dbip-country-lite-2021-10.mmdb
Normal file
Binary file not shown.
|
@ -254,7 +254,7 @@ $register->set('smtp', function () {
|
||||||
return $mail;
|
return $mail;
|
||||||
});
|
});
|
||||||
$register->set('geodb', function () {
|
$register->set('geodb', function () {
|
||||||
return new Reader(__DIR__.'/db/DBIP/dbip-country-lite-2021-06.mmdb');
|
return new Reader(__DIR__.'/db/DBIP/dbip-country-lite-2021-10.mmdb');
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue