@@ -114,7 +114,7 @@ |
||
114 | 114 | switch ($errorCode) { |
115 | 115 | case UPLOAD_ERR_INI_SIZE: |
116 | 116 | return "The file '{$fileName}' exceeds the upload_max_filesize directive (". |
117 | - ini_get('upload_max_filesize').').'; |
|
117 | + ini_get('upload_max_filesize').').'; |
|
118 | 118 | case UPLOAD_ERR_FORM_SIZE: |
119 | 119 | return "The file '{$fileName}' exceeds the MAX_FILE_SIZE directive specified in the HTML form."; |
120 | 120 | case UPLOAD_ERR_PARTIAL: |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | $deleteNZB = true; |
27 | 27 | |
28 | 28 | // Get the list of NZB files from php /tmp folder if nzb files were uploaded. |
29 | - if (isset($_FILES['uploadedfiles']) && ! empty($_FILES['uploadedfiles']['name'][0])) { |
|
29 | + if (isset($_FILES['uploadedfiles']) && !empty($_FILES['uploadedfiles']['name'][0])) { |
|
30 | 30 | $maxFileSize = min( |
31 | 31 | $this->convertToBytes(ini_get('upload_max_filesize')), |
32 | 32 | $this->convertToBytes(ini_get('post_max_size')) |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | |
55 | 55 | // Get the path the user set in the browser if he put one. |
56 | 56 | $path = ($request->has('folder') ? $request->input('folder') : ''); |
57 | - if (! Str::endsWith($path, '/')) { |
|
57 | + if (!Str::endsWith($path, '/')) { |
|
58 | 58 | $path .= '/'; |
59 | 59 | } |
60 | 60 |