illuminate/foundation — pull request #43 by franzliedke (2012-11-29 13:05:47+00:00)
Title: Change command line detection.

We had a similar problem in L3 (still unfixed). This is [supposedly](http://www.php.net/manual/en/features.commandline.php#105043) the best solution.