Files
ponzi/laravel/request.php
David Lin 5929f8e537 Update laravel/request.php
When running nginx with php-cgi (Fast-CGI): 

spawn-fcgi -a 127.0.0.1 -p 10081 -C 50 -u nobody -f /usr/local/php5317/bin/php-cgi

The Request::cli() method will determine the web request as run from the command line.
Add ` PHP_SAPI != "cgi-fcgi" ` to resolve it.
2013-02-27 08:54:57 +08:00

5.5 KiB