mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 13:33:57 +00:00
add command for sending do to vt
This commit is contained in:
@@ -60,7 +60,7 @@ class EmailDoToVTCommand extends Command
|
||||
{
|
||||
Auth::login(User::findOrFail(1));
|
||||
$zip_file = 'do_from_11_nov_to_23_nov.zip';
|
||||
$attachment = storage_path('temp').'/'.$zip_file;
|
||||
$attachment = storage_path().'/'.$zip_file;
|
||||
$zip = new ZipArchive();
|
||||
if ($zip->open($attachment, ZIPARCHIVE::CREATE | ZIPARCHIVE::OVERWRITE)) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user