Changeset 727
- Timestamp:
- 12/09/07 18:24:18 (13 months ago)
- Files:
-
- 1 modified
-
trunk/common/mvblog.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/common/mvblog.php
r682 r727 764 764 <?php 765 765 } else { 766 if ( $_SESSION["author_name"]) {766 if (array_key_exists("author_name", $_SESSION) && $_SESSION["author_name"]) { 767 767 $realname = htmlspecialchars(stripslashes($_SESSION["author_fullname"])); 768 768 } else { … … 1236 1236 ); 1237 1237 $this->db->exec($sql); 1238 if ( $_SERVER["HTTPS"] == "on")1238 if (array_key_exists("HTTPS", $_SERVER) && $_SERVER["HTTPS"] == "on") 1239 1239 $proto = "https"; 1240 1240 else
