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