disable auto logging to screen for AJAX-requests

This commit is contained in:
coderkun 2013-10-30 12:17:07 +01:00
commit 0a45d90ba1
3 changed files with 23 additions and 2 deletions

View file

@ -37,6 +37,11 @@
// Add routes
$this->addRoutes();
// Disable screen logging for AJAX requests
if($this->request->getParam(0, 'toplevel') == 'ajax') {
$this->log->disableAutoLogToScreen();
}
}