正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -226,7 +226,7 @@ class BTemplateLogic extends BaseLogic | @@ -226,7 +226,7 @@ class BTemplateLogic extends BaseLogic | ||
| 226 | public function saveCommonTemplate($param){ | 226 | public function saveCommonTemplate($param){ |
| 227 | $templateCommonModel = new BTemplateCommon(); | 227 | $templateCommonModel = new BTemplateCommon(); |
| 228 | $info = $templateCommonModel->read(['template_id'=>$param['template_id'],'project_id'=>$this->user['project_id']]); | 228 | $info = $templateCommonModel->read(['template_id'=>$param['template_id'],'project_id'=>$this->user['project_id']]); |
| 229 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export(characterTruncation($param['html'],'/<link id="google-fonts-link"[^<]*<header/s'), true) . PHP_EOL, FILE_APPEND); | 229 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export(characterTruncation($param['html'],'/<link id="google-fonts-link"[^<]*<header/'), true) . PHP_EOL, FILE_APPEND); |
| 230 | $data = [ | 230 | $data = [ |
| 231 | 'head_html'=>$param['head_html'], | 231 | 'head_html'=>$param['head_html'], |
| 232 | 'head_css'=>$param['head_css'], | 232 | 'head_css'=>$param['head_css'], |
-
请 注册 或 登录 后发表评论