Ticket #31288: functions.php.patch
File functions.php.patch, 382 bytes (added by , 10 years ago) |
---|
-
functions.php
3677 3677 return true; 3678 3678 } elseif ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) { 3679 3679 return true; 3680 } elseif ( isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && ( 'https' == strotolower($_SERVER['HTTP_X_FORWARDED_PROTO']) ) ) { 3681 return true; 3682 } 3680 } 3683 3681 return false; 3684 3682 } 3685 3683