diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-03 09:24:09 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-03 09:24:09 +0100 |
commit | dd2a5e6b28d537b9a8c2bb1a978faa46dfb869cc (patch) | |
tree | cd4aa364519bee76e1cbec9d5f776bb494fc543f /boot.php | |
parent | 028b2a655de8c9d7b1f0de05a869e59c2b219818 (diff) | |
parent | 7e1e9ac94a1cf2fb01a3052f7fd9d0f2049079b5 (diff) | |
download | volse-hubzilla-dd2a5e6b28d537b9a8c2bb1a978faa46dfb869cc.tar.gz volse-hubzilla-dd2a5e6b28d537b9a8c2bb1a978faa46dfb869cc.tar.bz2 volse-hubzilla-dd2a5e6b28d537b9a8c2bb1a978faa46dfb869cc.zip |
Merge branch 'dev' into wip-app-bin
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -802,6 +802,7 @@ class App { public static $identities; public static $css_sources = array(); public static $js_sources = array(); + public static $linkrel = array(); public static $theme_info = array(); public static $is_sys = false; public static $nav_sel; @@ -1164,6 +1165,11 @@ class App { self::$meta->set('generator', Zotlabs\Lib\System::get_platform_name()); + head_add_link(['rel' => 'shortcut icon', 'href' => head_get_icon()]); + + $x = [ 'header' => '' ]; + call_hooks('build_pagehead',$x); + /* put the head template at the beginning of page['htmlhead'] * since the code added by the modules frequently depends on it * being first @@ -1176,11 +1182,12 @@ class App { '$baseurl' => self::get_baseurl(), '$local_channel' => local_channel(), '$metas' => self::$meta->get(), + '$plugins' => $x['header'], '$update_interval' => $interval, 'osearch' => sprintf( t('Search %1$s (%2$s)','opensearch'), Zotlabs\Lib\System::get_site_name(), t('$Projectname','opensearch')), - '$icon' => head_get_icon(), '$head_css' => head_get_css(), '$head_js' => head_get_js(), + '$linkrel' => head_get_links(), '$js_strings' => js_strings(), '$zid' => get_my_address(), '$channel_id' => self::$profile['uid'], |