@@ -214,25 +214,15 @@ |
||
| 214 | 214 | |
| 215 | 215 | if (!$this->ValidateExtension()) { |
| 216 | 216 | die($this->GetMessage()); |
| 217 | - } |
|
| 218 | - |
|
| 219 | - else if (!$this->ValidateSize()) { |
|
| 217 | + } else if (!$this->ValidateSize()) { |
|
| 220 | 218 | die($this->GetMessage()); |
| 221 | - } |
|
| 222 | - |
|
| 223 | - else if ($this->ValidateExistance()) { |
|
| 219 | + } else if ($this->ValidateExistance()) { |
|
| 224 | 220 | die($this->GetMessage()); |
| 225 | - } |
|
| 226 | - |
|
| 227 | - else if (!$this->ValidateDirectory()) { |
|
| 221 | + } else if (!$this->ValidateDirectory()) { |
|
| 228 | 222 | die($this->GetMessage()); |
| 229 | - } |
|
| 230 | - |
|
| 231 | - else if ($this->IsImage && !$this->ValidateImage()) { |
|
| 223 | + } else if ($this->IsImage && !$this->ValidateImage()) { |
|
| 232 | 224 | die($this->GetMessage()); |
| 233 | - } |
|
| 234 | - |
|
| 235 | - else { |
|
| 225 | + } else { |
|
| 236 | 226 | |
| 237 | 227 | $FileName = $this->FileName; |
| 238 | 228 | $TempFileName = $this->TempFileName; |