Fixed gzip breaking the exception report.
This commit is contained in:
parent
e3ae2feb12
commit
2cec6349fc
1 changed files with 6 additions and 1 deletions
|
@ -182,7 +182,12 @@ MIG;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ob_start($app->inDebugMode() ? null : 'ob_gzhandler');
|
if (!$app->inDebugMode()) {
|
||||||
|
ob_start('ob_gzhandler');
|
||||||
|
}
|
||||||
|
|
||||||
|
// we're running this again because ob_clean breaks gzip otherwise
|
||||||
|
ob_start();
|
||||||
|
|
||||||
$storage_dir = $app->getStoragePath();
|
$storage_dir = $app->getStoragePath();
|
||||||
if (!$storage_dir->isReadable()
|
if (!$storage_dir->isReadable()
|
||||||
|
|
Loading…
Add table
Reference in a new issue