mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-13 03:12:17 +02:00
Change date format of archives to include milleniun.
This commit is contained in:
parent
c678430dda
commit
877dd23280
|
@ -933,9 +933,9 @@ if (isset($_POST['group']) && (isset($_POST['zip']) || isset($_POST['tar'])) &&
|
|||
if (count($files) == 1) {
|
||||
$one_file = reset($files);
|
||||
$one_file = basename($one_file);
|
||||
$zipname = $one_file . '_' . date('ymd_His') . '.'.$ext;
|
||||
$zipname = $one_file . '_' . date('Ymd_His') . '.'.$ext;
|
||||
} else {
|
||||
$zipname = 'archive_' . date('ymd_His') . '.'.$ext;
|
||||
$zipname = 'archive_' . date('Ymd_His') . '.'.$ext;
|
||||
}
|
||||
|
||||
if($ext == 'zip') {
|
||||
|
|
Loading…
Reference in a new issue