forked from leftypol/leftypol
Allow the user to decide whether or not he wants to display his country
This commit is contained in:
parent
1ce9fb8174
commit
23c73ca839
4 changed files with 8 additions and 2 deletions
2
post.php
2
post.php
|
@ -487,7 +487,7 @@ if (isset($_POST['delete'])) {
|
|||
$post['body'] .= "\n<tinyboard raw html>1</tinyboard>";
|
||||
}
|
||||
|
||||
if ($config['country_flags']) {
|
||||
if (($config['country_flags'] && !$config['allow_no_country']) || ($config['country_flags'] && $config['allow_no_country'] && !isset($_POST['no_country']))) {
|
||||
require 'inc/lib/geoip/geoip.inc';
|
||||
$gi=geoip\geoip_open('inc/lib/geoip/GeoIPv6.dat', GEOIP_STANDARD);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue