Skip to content

Commit d550dc2

Browse files
committed
Refactoring.
1 parent 2c45de8 commit d550dc2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
2525
[2021.04.27; Maikuolan]: Added missing fullmoon template file.
2626

2727
[2021.05.01; Bug-fix; Maikuolan]: Log truncation not being calculated properly; Fixed.
28+
29+
[2021.05.28; Maikuolan]: Performed some minor refactoring.

src/Web.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Upload handler (last modified: 2021.05.01).
11+
* This file: Upload handler (last modified: 2021.05.28).
1212
*/
1313

1414
namespace phpMussel\Web;
@@ -106,6 +106,7 @@ public function __construct(\phpMussel\Core\Loader &$Loader, \phpMussel\Core\Sca
106106
/** Guard. */
107107
if (
108108
strlen($this->Loader->HashReference) === 0 ||
109+
$this->Loader->Configuration['web']['uploads_log'] === '' ||
109110
!($File = $this->Loader->buildPath($this->Loader->Configuration['web']['uploads_log']))
110111
) {
111112
return false;

0 commit comments

Comments
 (0)