|
...
|
...
|
@@ -277,7 +277,8 @@ class BTemplateLogic extends BaseLogic |
|
|
|
'footer_html'=>$param['footer_html'],
|
|
|
|
'footer_css'=>$param['footer_css'],
|
|
|
|
];
|
|
|
|
$other = str_replace('<header','',characterTruncation($param['html'],'/<link id="google-fonts-link".*?<header/s'));
|
|
|
|
characterTruncation($param['html'],'/<footer\b[^>]*>(.*?)<\/footer>/s');
|
|
|
|
$other = str_replace('<header','',characterTruncation($param['html'],'/<link id="google-fonts-link"\b[^>]*>(.*?)<body\b[^>]*>/s'));
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($other, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
if($info === false){
|
|
|
|
$data['template_id'] = $param['template_id'];
|
...
|
...
|
|