Skip to content

Commit 2566462

Browse files
committed
Request debugging patch.
1 parent 22177a7 commit 2566462

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Loader.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: The loader (last modified: 2025.06.10).
11+
* This file: The loader (last modified: 2025.07.08).
1212
*/
1313

1414
namespace phpMussel\Core;
@@ -362,6 +362,7 @@ public function __construct(
362362
}
363363
$this->Request->Disabled = $this->Configuration['core']['disabled_channels'];
364364
$this->Request->UserAgent = $this->ScriptUA;
365+
$this->Request->SendToOut = (defined('DEV_DEBUG_MODE') && DEV_DEBUG_MODE === true);
365366

366367
/** If the language directive is empty, default to English. */
367368
if (empty($this->Configuration['core']['lang'])) {

0 commit comments

Comments
 (0)