Commit 11855500 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1747 from voidman/patch-1

Update laravel/request.php
parents 41254383 5929f8e5
......@@ -196,7 +196,7 @@ class Request {
*/
public static function cli()
{
return defined('STDIN') || (substr(PHP_SAPI, 0, 3) == 'cgi' && getenv('TERM'));
return defined('STDIN') || (PHP_SAPI != "cgi-fcgi" && substr(PHP_SAPI, 0, 3) == 'cgi' && getenv('TERM'));
}
/**
......
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