作者 lyh

gx

@@ -278,6 +278,7 @@ class BTemplateLogic extends BaseLogic @@ -278,6 +278,7 @@ class BTemplateLogic extends BaseLogic
278 'footer_css'=>$param['footer_css'], 278 'footer_css'=>$param['footer_css'],
279 ]; 279 ];
280 $other = str_replace('<header','',characterTruncation($param['html'],"/<link id=\"google-fonts-link\"(.*?)<header/s")); 280 $other = str_replace('<header','',characterTruncation($param['html'],"/<link id=\"google-fonts-link\"(.*?)<header/s"));
  281 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($other, true) . PHP_EOL, FILE_APPEND);
281 if($info === false){ 282 if($info === false){
282 $data['template_id'] = $param['template_id']; 283 $data['template_id'] = $param['template_id'];
283 $data['project_id'] = $this->user['project_id']; 284 $data['project_id'] = $this->user['project_id'];