Created
June 4, 2012 23:54
-
-
Save evanpurkhiser/2871579 to your computer and use it in GitHub Desktop.
Fix kohana CLI checks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // More reliably determin if php is in CLI mode | |
| Kohana::$is_cli = isset($_SERVER['SHELL']) OR kohana::$is_cli; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment