We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e106999 commit 058c29cCopy full SHA for 058c29c
Model/Controller/ResultPlugin.php
@@ -56,7 +56,7 @@ public function aroundRenderResult(
56
) {
57
$result = $proceed($response);
58
59
- if ($this->request->isXmlHttpRequest() || !$this->isEnabled()) {
+ if (PHP_SAPI === 'cli' || $this->request->isXmlHttpRequest() || !$this->isEnabled()) {
60
return $result;
61
}
62
0 commit comments