]> andersk Git - sql-web.git/blobdiff - lib/security.lib.php
git-svn-id: svn://presbrey.mit.edu/sql/mitsql@73 a142d4bd-2cfb-0310-9673-cb33a7e74f58
[sql-web.git] / lib / security.lib.php
index 77baf2005ceed3f8fe3293ee1b93aa20f644da42..2f7211330936a2390d8e902bc908047e39f7c842 100644 (file)
@@ -258,7 +258,7 @@ function impersonate($userId=null) {
 }
 
 function isSSL() {
-       return $_SERVER['SERVER_PORT'] == 443;
+       return isset($_SERVER['SERVER_PORT'])?($_SERVER['SERVER_PORT'] == 443):false;
 }
 
 function getSSLCert() {
This page took 0.038448 seconds and 4 git commands to generate.