diff options
author | Richard Deurwaarder (Xeli) <richard@xelification.com> | 2013-06-19 13:49:08 +0200 |
---|---|---|
committer | Richard Deurwaarder (Xeli) <richard@xelification.com> | 2013-06-19 13:49:08 +0200 |
commit | 983b3139d4d834caed06a2341f0cd0beaa09114a (patch) | |
tree | c70665dba2ccf92c3ce07bb9b28ab77c7a9d65ed | |
parent | 1074bbf1851499e98912349c386701657c7f2cdd (diff) |
Change True -> TRUE per codeigniter guidelines
-rw-r--r-- | system/core/Common.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/core/Common.php b/system/core/Common.php index 7bf11dae5..467691cbf 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -347,13 +347,13 @@ if ( ! function_exists('is_https')) function is_https() { if(isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) === 'on'){ - return True; + return TRUE; }elseif (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https'){ - return True; + return TRUE; }elseif (isset($_SERVER['HTTP_FRONT_END_HTTPS']) && $_SERVER['HTTP_FRONT_END_HTTPS'] == 'on'){ - return True; + return TRUE; }else{ - return False + return FALSE; } } } |