preserve htmlhead in case somebody needs it
This commit is contained in:
parent
51b6d70996
commit
ed284fd4ea
4
boot.php
4
boot.php
@ -2139,7 +2139,9 @@ function construct_page(&$a) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// And a couple of convenience macros
|
// And a couple of convenience macros
|
||||||
|
if(strpos($v, '$htmlhead') !== false) {
|
||||||
|
$v = str_replace('$htmlhead', $a->page['htmlhead'], $v);
|
||||||
|
}
|
||||||
if(strpos($v, '$nav') !== false) {
|
if(strpos($v, '$nav') !== false) {
|
||||||
$v = str_replace('$nav', $a->page['nav'], $v);
|
$v = str_replace('$nav', $a->page['nav'], $v);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user