Do not use output buffering if invoked on the CLI

This commit is contained in:
Kijin Sung 2017-07-08 21:43:44 +09:00
parent 47433841a8
commit 8289a4b925

View file

@ -375,7 +375,10 @@ class Context
$this->_COOKIE = $_COOKIE;
// start output buffer
ob_start();
if (\PHP_SAPI !== 'cli')
{
ob_start();
}
// set authentication information in Context and session
if (self::isInstalled())