Permalink
Browse files

fix(logger): logger no longer pollutes serve-file response

Logger no longer inlines log entries in serve-file context

Fixes #9657
  • Loading branch information...
hypeJunction committed Apr 12, 2016
1 parent 27f0785 commit 8209a38b01b89bea65b696db3662962a8f332ebd
Showing with 1 addition and 1 deletion.
  1. +1 −1 engine/classes/Elgg/Logger.php
@@ -238,7 +238,7 @@ protected function process($data, $display, $level) {
// don't display in simplecache requests
$path = substr(current_page_url(), strlen(elgg_get_site_url()));
- if (preg_match('~^(cache|action)/~', $path)) {
+ if (preg_match('~^(cache|action|serve-file)/~', $path)) {
$display = false;
}

0 comments on commit 8209a38

Please sign in to comment.