summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorRichard Deurwaarder (Xeli) <richard@xelification.com>2013-06-24 14:52:47 +0200
committerRichard Deurwaarder (Xeli) <richard@xelification.com>2013-06-24 14:52:47 +0200
commit23dc052fb2149725c15e0e51e64e34642b89defd (patch)
treefd7fc0a001b901737d9ce7e611e0e51389455863 /system/core
parent4760aeff226175cc4267dd8fb8963a03031b78d2 (diff)
fix indentation according to codeigniter codestyle system/core/Common
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Common.php36
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;
+ }
+ }
}
// ------------------------------------------------------------------------