aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-07 17:22:40 -0700
committerfriendica <info@friendica.com>2013-07-07 17:22:40 -0700
commit6e880cfd4954c4a044358a823fac4dc9d5467a6b (patch)
treea49473747b8d253e54bfc814ba8f7d6e6044df1d /mod/settings.php
parent8b9f2f8ef766c169e77a34c72118d14beb2b21de (diff)
downloadvolse-hubzilla-6e880cfd4954c4a044358a823fac4dc9d5467a6b.tar.gz
volse-hubzilla-6e880cfd4954c4a044358a823fac4dc9d5467a6b.tar.bz2
volse-hubzilla-6e880cfd4954c4a044358a823fac4dc9d5467a6b.zip
use current channel photo for favicon where applicable - might be browser dependent but seems to work on FF
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/settings.php b/mod/settings.php
index e830d7070..164a2a8a0 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -580,6 +580,11 @@ function settings_content(&$a) {
return;
}
+
+ $channel = $a->get_channel();
+ if($channel)
+ head_set_icon($channel['xchan_photo_s']);
+
// if(x($_SESSION,'submanage') && intval($_SESSION['submanage'])) {
// notice( t('Permission denied.') . EOL );
// return;