diff --git a/laravel/core.php b/laravel/core.php index 0f33ccfd..a2170611 100644 --- a/laravel/core.php +++ b/laravel/core.php @@ -213,7 +213,7 @@ if (isset($environment)) | */ -if (defined('STDIN')) +if (Request::cli()) { $console = CLI\Command::options($_SERVER['argv']);