aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index f6e35cf4e..143d7de46 100755
--- a/boot.php
+++ b/boot.php
@@ -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';
+}
+