Change True -> TRUE per codeigniter guidelines
diff --git a/system/core/Common.php b/system/core/Common.php
index 7bf11da..467691c 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -347,13 +347,13 @@
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;
}
}
}