diff options
| author | czaks <marcin@6irc.net> | 2014-03-25 13:03:37 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-03-25 13:03:37 +0100 |
| commit | f0b2240b5f1e67fb9ad4770a3d5b0f298cf4c1d4 (patch) | |
| tree | 3180570731df62be98bd4737c34b5b3ae9ca828e /inc/config.php | |
| parent | 15810c9bedb5b7d18baec0f845bb3177f867471e (diff) | |
| parent | 44db8e76d8e21b38f9be4ad9e69f6af19c116fb0 (diff) | |
Merge branch 'master' of github.com:vichan-devel/Tinyboard into br-integration
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/inc/config.php b/inc/config.php index b2f62f5e..79631e79 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['image_blank'] = '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'; @@ -1461,7 +1466,7 @@ // Whether or not to enable the 4chan-compatible API, disabled by default. See // https://github.com/4chan/4chan-API for API specification. - $config['api']['enabled'] = false; + $config['api']['enabled'] = true; // Extra fields in to be shown in the array that are not in the 4chan-API. You can get these by taking a // look at the schema for posts_ tables. The array should be formatted as $db_column => $translated_name. |
