diff options
author | redmatrix <git@macgirvin.com> | 2016-01-17 16:50:37 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-17 16:50:37 -0800 |
commit | be83855acf2db7f4f55d4cb30878c67d53ca69b6 (patch) | |
tree | 6e57fb86b069e960a28e4fb34ad23da27173de6a /boot.php | |
parent | 10ed334e8c81d1db4a506716b78ece13dc69266c (diff) | |
download | volse-hubzilla-be83855acf2db7f4f55d4cb30878c67d53ca69b6.tar.gz volse-hubzilla-be83855acf2db7f4f55d4cb30878c67d53ca69b6.tar.bz2 volse-hubzilla-be83855acf2db7f4f55d4cb30878c67d53ca69b6.zip |
generalise the site icon
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -2361,3 +2361,18 @@ function get_update_version() { return DB_UPDATE_VERSION; } + +function get_notify_icon() { + $a = get_app(); + if(is_array($a->config) && is_array($a->config['system']) && $a->config['system']['email_notify_icon_url']) + return $a->config['system']['email_notify_icon_url']; + return z_root() . '/images/hz-white-32.png'; +} + +function get_site_icon() { + $a = get_app(); + if(is_array($a->config) && is_array($a->config['system']) && $a->config['system']['site_icon_url']) + return $a->config['system']['site_icon_url']; + return z_root() . '/images/hz-32.png'; +} + |