mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-13 03:12:17 +02:00
Changed date format of backup files.
This commit is contained in:
parent
b1ad654ca8
commit
009366cab9
|
@ -468,7 +468,7 @@ if (isset($_POST['ajax']) && !FM_READONLY) {
|
|||
$relativeDirPath = fm_clean_path($_POST['path']);
|
||||
$fullPath .= "{$relativeDirPath}/";
|
||||
}
|
||||
$date = date("dMy-His");
|
||||
$date = date("Ymd-His");
|
||||
$newFileName = "{$fileName}-{$date}.bak";
|
||||
$fullyQualifiedFileName = $fullPath . $fileName;
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue