fix warning: Undefined array key

This commit is contained in:
xiaomlove
2021-05-14 01:00:59 +08:00
parent 12b370f2e8
commit 514294530c
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ if (@ini_get('output_handler') == 'ob_gzhandler' AND @ob_get_length() !== false)
header('Content-Encoding:');
}
*/
if ($_COOKIE["c_secure_tracker_ssl"] == base64("yeah"))
if (isset($_COOKIE["c_secure_tracker_ssl"]) && $_COOKIE["c_secure_tracker_ssl"] == base64("yeah"))
$tracker_ssl = true;
else
$tracker_ssl = false;