First cut and better admin SSL support. see #7001

git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-05-27 17:46:01 +00:00
parent 10d8a5d4f7
commit f213f87d59
20 changed files with 138 additions and 52 deletions

View File

@@ -1765,4 +1765,7 @@ function validate_file( $file, $allowed_files = '' ) {
return 0;
}
function is_ssl() {
return ( 'on' == strtolower($_SERVER['HTTPS']) ) ? true : false;
}
?>