summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-08-06 16:00:30 +0200
committerAndrey Andreev <narf@devilix.net>2013-08-06 16:00:30 +0200
commit5a215b6064c9ce7ee33db9a76bcb1a62bea16ec3 (patch)
treef1ca126a98fddf103dec6d544536d6d240d32ffc /system/core/Input.php
parent5b55c15f24b518aa4775a0c15382c7b4bf72e1bc (diff)
parent40d124924ea331c6a57ab1b3f743299a41eb3f0c (diff)
Merge pull request #2586 from vlakoff/develop
Various typos and tabs adjustments
Diffstat (limited to 'system/core/Input.php')
-rw-r--r--system/core/Input.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 0ef81128e..1e67ce183 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -47,7 +47,7 @@ class CI_Input {
public $ip_address = FALSE;
/**
- * User agent strin
+ * User agent string
*
* @var string
*/
@@ -872,7 +872,7 @@ class CI_Input {
*/
public function is_cli_request()
{
- return (php_sapi_name() === 'cli' OR defined('STDIN'));
+ return (PHP_SAPI === 'cli' OR defined('STDIN'));
}
// --------------------------------------------------------------------