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']);
|
$relativeDirPath = fm_clean_path($_POST['path']);
|
||||||
$fullPath .= "{$relativeDirPath}/";
|
$fullPath .= "{$relativeDirPath}/";
|
||||||
}
|
}
|
||||||
$date = date("dMy-His");
|
$date = date("Ymd-His");
|
||||||
$newFileName = "{$fileName}-{$date}.bak";
|
$newFileName = "{$fileName}-{$date}.bak";
|
||||||
$fullyQualifiedFileName = $fullPath . $fileName;
|
$fullyQualifiedFileName = $fullPath . $fileName;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue