作者 lyh

gx

@@ -192,6 +192,7 @@ class TranslateLogic extends BaseLogic @@ -192,6 +192,7 @@ class TranslateLogic extends BaseLogic
192 $matches = array(); 192 $matches = array();
193 preg_match_all($pattern, $strippedContent, $matches); 193 preg_match_all($pattern, $strippedContent, $matches);
194 $metaData = array(); 194 $metaData = array();
  195 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($matches[2], true) . PHP_EOL, FILE_APPEND);
195 foreach ($matches[2] as $index => $content) { 196 foreach ($matches[2] as $index => $content) {
196 if(!empty($content)){ 197 if(!empty($content)){
197 $metaData[] = $content; 198 $metaData[] = $content;