mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-03 14:23:14 +02:00
Updating Code Formatting
This commit is contained in:
parent
55642a6bcd
commit
3f73c1171d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue