aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-05-15 20:33:38 +0200
committerMario Vavti <mario@mariovavti.com>2015-05-15 20:33:38 +0200
commited284fd4ea6e3069e59be94d40e600da93794693 (patch)
treef1e7ca6eb5416d4af2bdd1103adee81c33fc4090
parent51b6d709965faa104b02fe148dbe8cf407ff47fa (diff)
downloadvolse-hubzilla-ed284fd4ea6e3069e59be94d40e600da93794693.tar.gz
volse-hubzilla-ed284fd4ea6e3069e59be94d40e600da93794693.tar.bz2
volse-hubzilla-ed284fd4ea6e3069e59be94d40e600da93794693.zip
preserve htmlhead in case somebody needs it
-rwxr-xr-xboot.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index ac66c6b4e..8dcc3b56b 100755
--- a/boot.php
+++ b/boot.php
@@ -2139,7 +2139,9 @@ function construct_page(&$a) {
}
// And a couple of convenience macros
-
+ if(strpos($v, '$htmlhead') !== false) {
+ $v = str_replace('$htmlhead', $a->page['htmlhead'], $v);
+ }
if(strpos($v, '$nav') !== false) {
$v = str_replace('$nav', $a->page['nav'], $v);
}