Use Request helper to determine whether we're in CLI mode.

This commit is contained in:
Franz Liedke 2012-09-17 18:42:25 +03:00
parent d051994e2c
commit b1e4cf9d29
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@
|
*/
if (defined('STDIN'))
if (Request::cli())
{
$console = CLI\Command::options($_SERVER['argv']);