commit | fe1d45a023b08753f4c5f1d908d54ae842277558 | [log] [tgz] |
---|---|---|
author | Phil Sturgeon <email@philsturgeon.co.uk> | Sat Aug 13 11:06:57 2011 -0600 |
committer | Phil Sturgeon <email@philsturgeon.co.uk> | Sat Aug 13 11:27:42 2011 -0600 |
tree | 1e05aba728d0d6ad9b25dcd5750604db5ff4518e | |
parent | 99f6c8c4d71714e62a86cee5d2f7fbfa496a3c5a [diff] [blame] |
Fixed conflicts.
diff --git a/system/core/Input.php b/system/core/Input.php index dc7612e..cfbef94 100644 --- a/system/core/Input.php +++ b/system/core/Input.php
@@ -672,7 +672,7 @@ */ public function is_cli_request() { - return (bool) defined('STDIN'); + return (php_sapi_name() == 'cli') or defined('STDIN'); } }