|
...
|
...
|
@@ -278,6 +278,7 @@ class BTemplateLogic extends BaseLogic |
|
|
|
'footer_css'=>$param['footer_css'],
|
|
|
|
];
|
|
|
|
$other = str_replace('<header','',characterTruncation($param['html'],"/<link id=\"google-fonts-link\"(.*?)<header/s"));
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($param['html'], true) . PHP_EOL, FILE_APPEND);
|
|
|
|
@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'];
|
...
|
...
|
|