Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeff Balicki
/
FP_Canada
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3bee21b3
authored
2022-02-09 16:54:24 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
www
1 parent
cee7045f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
wp-content/themes/understrap-child/inc/email-templates-package.php
wp-content/themes/understrap-child/inc/email-templates-package.php
View file @
3bee21b
...
...
@@ -251,12 +251,15 @@ if ($zip->open($dir.$name.'_'.date("m-d-y-H-i-s").'.zip', ZipArchive::CREATE) ==
// All files are added, so close the zip file.
$zip
->
close
();
}
unlink
(
$file1
);
unlink
(
$file2
);
$result
[
'file'
]
=
$url
.
$name
.
'_'
.
date
(
"m-d-y-H-i-s"
)
.
'.zip'
;
$result
[
'success'
]
=
true
;
unlink
(
$file1
);
unlink
(
$file2
);
wp_send_json_success
(
$result
);
die
;
...
...
Please
register
or
sign in
to post a comment