作者 lyh

gx

@@ -637,6 +637,7 @@ class BTemplateLogic extends BaseLogic @@ -637,6 +637,7 @@ class BTemplateLogic extends BaseLogic
637 'head_css' => characterTruncation($this->param['html'],'/<style id="globalsojs-header">(.*?)<\/style>/s'), 637 'head_css' => characterTruncation($this->param['html'],'/<style id="globalsojs-header">(.*?)<\/style>/s'),
638 'footer_html' => characterTruncation($this->param['html'],'/<footer\b[^>]*>(.*?)<\/footer>/s'), 638 'footer_html' => characterTruncation($this->param['html'],'/<footer\b[^>]*>(.*?)<\/footer>/s'),
639 'footer_css' => characterTruncation($this->param['html'],'/<style id="globalsojs-footer">(.*?)<\/style>/s'), 639 'footer_css' => characterTruncation($this->param['html'],'/<style id="globalsojs-footer">(.*?)<\/style>/s'),
  640 + 'other'=>str_replace('<header','',characterTruncation($param['html'],"/<link id=\"google-fonts-link\"(.*?)<header/s")),
640 ]; 641 ];
641 //查看当前模板是否有独立头部,有独立头部,更新独立头部,无独立头部,更新公共头部 642 //查看当前模板是否有独立头部,有独立头部,更新独立头部,无独立头部,更新公共头部
642 $templateCommonModel = new BTemplateCommon(); 643 $templateCommonModel = new BTemplateCommon();