Use Request helper to determine whether we're in CLI mode.
This commit is contained in:
@@ -213,7 +213,7 @@ if (isset($environment))
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (defined('STDIN'))
|
if (Request::cli())
|
||||||
{
|
{
|
||||||
$console = CLI\Command::options($_SERVER['argv']);
|
$console = CLI\Command::options($_SERVER['argv']);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user