disable auto logging to screen for AJAX-requests
This commit is contained in:
parent
d9d85e2306
commit
0a45d90ba1
3 changed files with 23 additions and 2 deletions
|
|
@ -37,6 +37,11 @@
|
|||
|
||||
// Add routes
|
||||
$this->addRoutes();
|
||||
|
||||
// Disable screen logging for AJAX requests
|
||||
if($this->request->getParam(0, 'toplevel') == 'ajax') {
|
||||
$this->log->disableAutoLogToScreen();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue