summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorFredrick Brennan <admin@8chan.co>2014-09-20 15:21:50 +0000
committerFredrick Brennan <admin@8chan.co>2014-09-20 16:35:28 +0000
commit23c73ca83943fb720addebe461286bc4ff3679b9 (patch)
treeca31cfde85612e649a6bfb219caebe470860b1dc /inc/config.php
parent1ce9fb8174cd7f5fb39f87b83095caf6a47258f1 (diff)
Allow the user to decide whether or not he wants to display his country
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 3dd8eb6c..e2cc2ebd 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -274,6 +274,7 @@
'file_url',
'json_response',
'user_flag',
+ 'no_country'
);
// Enable reCaptcha to make spam even harder. Rarely necessary.
@@ -531,6 +532,9 @@
// Attach country flags to posts.
$config['country_flags'] = false;
+ // Allow the user to decide whether or not he wants to display his country
+ $config['allow_no_country'] = false;
+
// Load all country flags from one file
$config['country_flags_condensed'] = true;
$config['country_flags_condensed_css'] = 'static/flags/flags.css';