1
0

Try to suppress notice

This commit is contained in:
Garvin Hicking
2007-09-04 10:12:10 +00:00
parent a8a15cddff
commit da8ff0d06d

View File

@@ -17,7 +17,7 @@ if (!headers_sent()) {
// Patch by David Vieira-Kurz of majorsecurity.de // Patch by David Vieira-Kurz of majorsecurity.de
if (!isset($_SESSION['SERVER_GENERATED_SID'])) { if (!isset($_SESSION['SERVER_GENERATED_SID'])) {
session_regenerate_id(true); session_regenerate_id(true);
session_start(); @session_start();
header('X-Session-Reinit: true'); header('X-Session-Reinit: true');
$_SESSION['SERVER_GENERATED_SID'] = true; $_SESSION['SERVER_GENERATED_SID'] = true;
} }