1
1
Fork 0

bad checkin

This commit is contained in:
friendica 2013-05-02 22:19:16 -07:00
commit 886c3d1472
2 changed files with 6 additions and 7 deletions

View file

@ -414,10 +414,7 @@ if(!$a->theme['stylesheet'])
$stylesheet = current_theme_url();
else
$stylesheet = $a->theme['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']);
$a->page['htmlhead'] = replace_macros($a->page['htmlhead'], array('$stylesheet' => $stylesheet));
$page = $a->page;
$profile = $a->profile;