We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 899949f commit 0697bcdCopy full SHA for 0697bcd
src/WebApp/Service.php
@@ -24,8 +24,10 @@ public function run() {
24
25
// Render when required
26
if ($action == 'render') {
27
- Log::debug('$_SERVER=', $_SERVER);
28
- Log::debug('Request=', $this->app->request);
+ if ($this->app->config->has('debug') && $this->app->config->get('debug')) {
+ Log::debug('$_SERVER=', $_SERVER);
29
+ Log::debug('Request=', $this->app->request);
30
+ }
31
$this->theme->render($this->page);
32
Session\Utils::isFreshLogin();
33
} else if ($action == 'redirect') {
0 commit comments