mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-17 21:16:38 +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)) {
|
if (file_exists ($fullPath)) {
|
||||||
$ext_1 = $ext ? '.'.$ext : '';
|
$ext_1 = $ext ? '.'.$ext : '';
|
||||||
|
|
||||||
if($overwrite_files == 'Y')
|
if ($overwrite_files == 'Y') {
|
||||||
{
|
$fullPathTarget = $path . '/' . basename($fullPathInput, $ext_1) . $ext_1;
|
||||||
$fullPathTarget = $path . '/' . basename($fullPathInput, $ext_1) . $ext_1;
|
} else {
|
||||||
}
|
$fullPathTarget = $path . '/' . basename($fullPathInput, $ext_1) .'_'. date('ymdHis'). $ext_1;
|
||||||
else
|
|
||||||
{
|
|
||||||
$fullPathTarget = $path . '/' . basename($fullPathInput, $ext_1) .'_'. date('ymdHis'). $ext_1;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$fullPathTarget = $fullPath;
|
$fullPathTarget = $fullPath;
|
||||||
|
|
Loading…
Reference in a new issue