Skip to content

Commit 7c5de4b

Browse files
committed
Rename export files
1 parent 1a7d998 commit 7c5de4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/CP/MembersController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function export($type)
241241
$content = $exporter->export();
242242

243243
if ($this->request->has('download')) {
244-
$path = storage_path('statamic/tmp/memberbox/'.time().'.'.$type);
244+
$path = storage_path('statamic/tmp/memberbox/members-'.time().'.'.$type);
245245
File::put($path, $content);
246246
$response = response()->download($path)->deleteFileAfterSend(true);
247247
} else {

0 commit comments

Comments
 (0)