1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 06:32:34 +01:00

add prefix for exports

This commit is contained in:
devfake 2016-11-23 11:33:20 +01:00
parent 62c94dd740
commit 7995ea4eb5

View File

@ -30,7 +30,7 @@
public function export() public function export()
{ {
$items = json_encode($this->item->all()); $items = json_encode($this->item->all());
$file = date('Y-m-d---H-i') . '.json'; $file = 'flox--' . date('Y-m-d---H-i') . '.json';
$this->storage->saveExport($file, $items); $this->storage->saveExport($file, $items);