diff --git a/design.inc.php b/design.inc.php index f03ad8cf..bc838b4f 100644 --- a/design.inc.php +++ b/design.inc.php @@ -2,7 +2,7 @@ function page_header($title) { global $LANG; header("Content-Type: text/html; charset=utf-8"); -?> + ?> @@ -27,12 +27,14 @@ function page_header($title) { echo "

$_SESSION[message]

\n"; $_SESSION["message"] = ""; } - session_write_close(); + if (isset($_SESSION["databases"])) { + session_write_close(); + } } function page_footer($missing = false) { global $SELF, $mysql; -?> + ?>