summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
diff options
context:
space:
mode:
authorChris Passas <cpassas@gmail.com>2013-02-13 17:45:20 +0100
committerChris Passas <cpassas@gmail.com>2013-02-15 21:03:28 +0100
commit614cc1c384b84801428f9823007586584af00653 (patch)
tree4cd586222c708418c22929b8c8c29a7bc23d82ba /system/core/Common.php
parentce6f43b7120a184aa0cff0bdb90fa3d7f032e14b (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