@@ -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: |
@@ -88,10 +88,19 @@ |
||
88 | 88 | { |
89 | 89 | $steps = 3; // prepare, finalize, cleanup |
90 | 90 | |
91 | - if (!$this->option('skip-git')) $steps++; |
|
92 | - if (!$this->option('skip-composer')) $steps++; |
|
93 | - if (!$this->option('skip-npm')) $steps += 2; // install + build |
|
94 | - if (!$this->option('skip-db')) $steps++; |
|
91 | + if (!$this->option('skip-git')) { |
|
92 | + $steps++; |
|
93 | + } |
|
94 | + if (!$this->option('skip-composer')) { |
|
95 | + $steps++; |
|
96 | + } |
|
97 | + if (!$this->option('skip-npm')) { |
|
98 | + $steps += 2; |
|
99 | + } |
|
100 | + // install + build |
|
101 | + if (!$this->option('skip-db')) { |
|
102 | + $steps++; |
|
103 | + } |
|
95 | 104 | |
96 | 105 | $steps++; // smarty cache clear |
97 | 106 | $steps++; // env merge |