diff options
| author | czaks <marcin@6irc.net> | 2014-02-24 00:06:01 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-02-24 00:06:01 +0100 |
| commit | 14c499f9d114d924ffa5564f732db66516480f1e (patch) | |
| tree | 93678845503ab26bac4caade8678f556639a2495 /inc/config.php | |
| parent | d274180f81d50fbb378ada700b1814d6ed163ed6 (diff) | |
Condense flags into one file. Heads-up for people having custom flags, disable $config['country_flags_condensed'] !!!
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/inc/config.php b/inc/config.php index 1bf55fb7..2af0f391 100644 --- a/inc/config.php +++ b/inc/config.php @@ -523,11 +523,13 @@ // When true, users are instead presented a selectbox for email. Contains, blank, noko and sage. $config['field_email_selectbox'] = false; - // Attach country flags to posts. Requires the PHP "geoip" extension to be installed: - // http://www.php.net/manual/en/intro.geoip.php. In the future, maybe I will find and include a proper - // pure-PHP geolocation library. + // Attach country flags to posts. $config['country_flags'] = false; + // Load all country flags from one file + $config['country_flags_condensed'] = true; + $config['country_flags_condensed_css'] = 'static/flags/flags.css'; + /* * ==================== * Ban settings @@ -1071,6 +1073,9 @@ // Home directory. Used by themes. $config['dir']['home'] = ''; + // Location of a blank 1x1 gif file. Only used when country_flags_condensed is enabled + $config['uri_blank'] = $config['root'] . 'static/blank.gif'; + // Static images. These can be URLs OR base64 (data URI scheme). These are only used if // $config['font_awesome'] is false (default). // $config['image_sticky'] = 'static/sticky.gif'; |
