undefined element
This commit is contained in:
parent
c08e791e43
commit
185d29c41e
3 changed files with 70 additions and 66 deletions
|
@ -414,7 +414,10 @@ if(!$a->theme['stylesheet'])
|
|||
$stylesheet = current_theme_url();
|
||||
else
|
||||
$stylesheet = $a->theme['stylesheet'];
|
||||
$a->page['htmlhead'] = replace_macros($a->page['htmlhead'], array('$stylesheet' => $stylesheet));
|
||||
// this creates hundreds of compiled templates, when all we really want is a string replace.
|
||||
// $a->page['htmlhead'] = replace_macros($a->page['htmlhead'], array('$stylesheet' => $stylesheet));
|
||||
|
||||
$a->page['htmlhead'] = str_replace('$stylesheet',$stylesheet,$a->page['htmlhead']);
|
||||
|
||||
$page = $a->page;
|
||||
$profile = $a->profile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue