aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorroot2014-09-26 00:12:01 +0200
committerroot2014-09-26 00:12:01 +0200
commitbde71668e1b64f57e4cd3d45703e8a488b1de957 (patch)
treea23d671ce1f59a6b46f9461e347061d97095039e /index.php
parent3c8bee64793332bf3fda6af3c57d881636ec35d6 (diff)
downloadjungegemeinde-bde71668e1b64f57e4cd3d45703e8a488b1de957.tar.gz
improvements
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';