Save HTML to the correct location
This commit is contained in:
parent
5e9d2aae6e
commit
a461abfa6f
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class DownloadWebMention implements ShouldQueue
|
|||
//Laravel should catch and retry these automatically.
|
||||
if ($response->getStatusCode() == '200') {
|
||||
$filesystem = \Illuminate\FileSystem\FileSystem();
|
||||
$filename = $this->createFilenameFromURL($source);
|
||||
$filename = storage_path() . '/HTML/' . $this->createFilenameFromURL($source);
|
||||
//backup file first
|
||||
$filenameBackup = $filename . '.' . date('Y-m-d') . '.backup';
|
||||
if ($filesystem->exists($filename)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue