| @@ 70-76 (lines=7) @@ | ||
| 67 | ||
| 68 | $fs = new Filesystem(); |
|
| 69 | $tplData = null; |
|
| 70 | foreach ($readPaths as $readPath) { |
|
| 71 | $filePath = $readPath.'/Mail/'.$name; |
|
| 72 | if ($fs->exists($filePath)) { |
|
| 73 | $tplData = file_get_contents($filePath); |
|
| 74 | break; |
|
| 75 | } |
|
| 76 | } |
|
| 77 | ||
| 78 | if (!$tplData) { |
|
| 79 | log_info("対象ファイルが存在しません"); |
|
| @@ 130-136 (lines=7) @@ | ||
| 127 | ||
| 128 | $fs = new Filesystem(); |
|
| 129 | $tplData = null; |
|
| 130 | foreach ($readPaths as $readPath) { |
|
| 131 | $filePath = $readPath.'/Mail/'.$name; |
|
| 132 | if ($fs->exists($filePath)) { |
|
| 133 | $tplData = file_get_contents($filePath); |
|
| 134 | break; |
|
| 135 | } |
|
| 136 | } |
|
| 137 | ||
| 138 | if (!$tplData) { |
|
| 139 | log_info("対象ファイルが存在しません"); |
|