aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 21cbda7..3a5a4df 100644
--- a/index.php
+++ b/index.php
@@ -17,7 +17,7 @@ if ( isset($_SESSION["loggedin"]) && $_SESSION["loggedin"]){
$a = "0_";
}
-if ( $_SERVER["REQUEST_METHOD"] == "GET" && $_SERVER["REDIRECT_STATUS"] == 200 && strpos($_SERVER["QUERY_STRING"], "account") === false ) {
+if ( $_SERVER["REQUEST_METHOD"] == "GET" && $_SERVER["REDIRECT_STATUS"] == 200 && strpos($_SERVER["QUERY_STRING"], "account") === false && strpos($_SERVER["QUERY_STRING"], "logout") === false) {
$token = $c->getToken($_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]. $_SERVER["QUERY_STRING"], $a);
if ( $c->exists($token)){
header("X-Cache: Hit");
@@ -47,10 +47,10 @@ $user = new jg($u);
echo "<style>" . file_get_contents('static/style.min.css');?>
.dl-horizontal dt{white-space: normal;} .btn-info{background-color:#3083D6;} .img-responsive{margin: 0 auto;} @-moz-document url-prefix() { fieldset { display: table-cell; } }</style>
+ <noscript><style>.navbar{margin-bottom:0;}</style></noscript>
<title>Junge Gemeinde Adlershof</title>
<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <noscript><style>.navbar{margin-bottom:0;}</style></noscript>
</head>
<?php
require_once 'static/header.php';