Updating Code Formatting

This commit is contained in:
Joshua Myers 2024-01-31 15:21:06 -06:00 committed by GitHub
parent 55642a6bcd
commit 3f73c1171d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1018,13 +1018,10 @@ if (!empty($_FILES) && !FM_READONLY) {
if (file_exists ($fullPath)) {
$ext_1 = $ext ? '.'.$ext : '';
if($overwrite_files == 'Y')
{
$fullPathTarget = $path . '/' . basename($fullPathInput, $ext_1) . $ext_1;
}
else
{
$fullPathTarget = $path . '/' . basename($fullPathInput, $ext_1) .'_'. date('ymdHis'). $ext_1;
if ($overwrite_files == 'Y') {
$fullPathTarget = $path . '/' . basename($fullPathInput, $ext_1) . $ext_1;
} else {
$fullPathTarget = $path . '/' . basename($fullPathInput, $ext_1) .'_'. date('ymdHis'). $ext_1;
}
} else {
$fullPathTarget = $fullPath;