diff options
author | Richard Deurwaarder (Xeli) <richard@xelification.com> | 2013-06-24 14:52:47 +0200 |
---|---|---|
committer | Richard Deurwaarder (Xeli) <richard@xelification.com> | 2013-06-24 14:52:47 +0200 |
commit | 23dc052fb2149725c15e0e51e64e34642b89defd (patch) | |
tree | fd7fc0a001b901737d9ce7e611e0e51389455863 /system/core/Common.php | |
parent | 4760aeff226175cc4267dd8fb8963a03031b78d2 (diff) |
fix indentation according to codeigniter codestyle system/core/Common
Diffstat (limited to 'system/core/Common.php')
-rw-r--r-- | system/core/Common.php | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/system/core/Common.php b/system/core/Common.php index 11ff4bae9..bd187dcda 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -345,24 +345,24 @@ if ( ! function_exists('is_https')) * @return bool */ function is_https() - { - if(isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) === 'on') - { - return TRUE; - } - elseif (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') - { - return TRUE; - } - elseif (isset($_SERVER['HTTP_FRONT_END_HTTPS']) && $_SERVER['HTTP_FRONT_END_HTTPS'] == 'on') - { - return TRUE; - } - else - { - return FALSE; - } - } + { + if(isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) === 'on') + { + return TRUE; + } + elseif (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') + { + return TRUE; + } + elseif (isset($_SERVER['HTTP_FRONT_END_HTTPS']) && $_SERVER['HTTP_FRONT_END_HTTPS'] == 'on') + { + return TRUE; + } + else + { + return FALSE; + } + } } // ------------------------------------------------------------------------ |