正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -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; |
-
请 注册 或 登录 后发表评论