Browse Source

Update SettingsController.php

1day2die 3 years ago
parent
commit
f9206fd7ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Admin/SettingsController.php

+ 1 - 1
app/Http/Controllers/Admin/SettingsController.php

@@ -86,7 +86,7 @@ class SettingsController extends Controller
         $res = $zip->open($zip_safe_path, ZipArchive::CREATE|ZipArchive::OVERWRITE);
         $result = $this::rglob(storage_path('app/invoice/*'));
         if ($res === TRUE) {
-            $zip->addFromString("1. Info.txt","This Archive contains all Invoices from all Users!");
+            $zip->addFromString("1. Info.txt","This Archive contains all Invoices from all Users!\n If there are no Invoices here, no Invoices have ever been created!");
             foreach($result as $file){
                 if (file_exists($file) && is_file($file)) {
                     $zip->addFile($file,basename($file));