From 75cca1ffb2a41a2381f5287fd9bb8ea292a9c281 Mon Sep 17 00:00:00 2001 From: czaks Date: Mon, 24 Feb 2014 15:29:26 +0100 Subject: fix previous commit --- inc/config.php | 2 +- inc/functions.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/config.php b/inc/config.php index 2af0f391..6c7247b4 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1074,7 +1074,7 @@ $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'; + // $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). diff --git a/inc/functions.php b/inc/functions.php index 5b5f5bdd..a65bf720 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -168,6 +168,9 @@ function loadConfig() { if (!isset($config['dir']['static'])) $config['dir']['static'] = $config['root'] . 'static/'; + if (!isset($config['image_blank'])) + $config['image_blank'] = $config['dir']['static'] . 'blank.gif'; + if (!isset($config['image_sticky'])) $config['image_sticky'] = $config['dir']['static'] . 'sticky.gif'; if (!isset($config['image_locked'])) -- cgit v1.3