|
@@ 90-92 (lines=3) @@
|
| 87 |
|
case 3: |
| 88 |
|
$updir = $basedirectory . DIRECTORY_SEPARATOR . $year . DIRECTORY_SEPARATOR . $month; |
| 89 |
|
break; |
| 90 |
|
case 4: |
| 91 |
|
$updir = $basedirectory . DIRECTORY_SEPARATOR . (empty($modSettings['use_subdirectories_for_attachments']) ? 'attachments-' : 'random_') . $rand; |
| 92 |
|
break; |
| 93 |
|
case 5: |
| 94 |
|
$updir = $basedirectory . DIRECTORY_SEPARATOR . (empty($modSettings['use_subdirectories_for_attachments']) ? 'attachments-' : 'random_') . $rand . DIRECTORY_SEPARATOR . $rand1; |
| 95 |
|
break; |
|
@@ 93-95 (lines=3) @@
|
| 90 |
|
case 4: |
| 91 |
|
$updir = $basedirectory . DIRECTORY_SEPARATOR . (empty($modSettings['use_subdirectories_for_attachments']) ? 'attachments-' : 'random_') . $rand; |
| 92 |
|
break; |
| 93 |
|
case 5: |
| 94 |
|
$updir = $basedirectory . DIRECTORY_SEPARATOR . (empty($modSettings['use_subdirectories_for_attachments']) ? 'attachments-' : 'random_') . $rand . DIRECTORY_SEPARATOR . $rand1; |
| 95 |
|
break; |
| 96 |
|
default : |
| 97 |
|
$updir = ''; |
| 98 |
|
} |