summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
diff options
context:
space:
mode:
authorChris Passas <cpassas@gmail.com>2013-02-13 17:47:45 +0100
committerChris Passas <cpassas@gmail.com>2013-02-15 21:03:29 +0100
commit62f7cdf3a6f5d701430267ef9ba9bfd92650deab (patch)
treec1fde1aabbfc2d1a1274b3c64729492f8beac193 /system/core/Common.php
parent6f19fd770b67804797c55d47c1c5f5fcb3a37b2e (diff)
Revert "Update system/core/Common.php"
Diffstat (limited to 'system/core/Common.php')
-rw-r--r--system/core/Common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index b9c872748..258cd4967 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -343,7 +343,7 @@ if ( ! function_exists('is_https'))
*/
function is_https()
{
- return ( ( ! empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off' ) || ($_SERVER["SERVER_PORT"] === '443') );
+ return ( ! empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off');
}
}
@@ -713,4 +713,4 @@ if ( ! function_exists('function_usable'))
}
/* End of file Common.php */
-/* Location: ./system/core/Common.php */
+/* Location: ./system/core/Common.php */ \ No newline at end of file