From 14c499f9d114d924ffa5564f732db66516480f1e Mon Sep 17 00:00:00 2001 From: czaks Date: Mon, 24 Feb 2014 00:06:01 +0100 Subject: Condense flags into one file. Heads-up for people having custom flags, disable $config['country_flags_condensed'] !!! --- inc/config.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'inc/config.php') 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'; -- cgit v1.3