Commit b1e4cf9d authored by Franz Liedke's avatar Franz Liedke

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

parent d051994e
...@@ -213,7 +213,7 @@ if (isset($environment)) ...@@ -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']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment