Angemeldet bleiben
This commit is contained in:
@ -4,18 +4,16 @@ require_once("config/datenbankanbindung.php"); // fügt die Datenbankanb
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
|
||||
$db = dbconnect();
|
||||
$uid = $_SESSION["global_uid"];
|
||||
$uid = $_SESSION["userid"];
|
||||
#$login_dateiname = basename($_SERVER['PHP_SELF']);
|
||||
|
||||
|
||||
|
||||
|
||||
$login_dateiname = basename($_SERVER['PHP_SELF']);
|
||||
|
||||
if($uid == "" AND $login_dateiname !='index.php'){
|
||||
echo"<script type='text/javascript'>window.top.location.href = \"index.php\";</script>";
|
||||
exit;
|
||||
if(!isset($_SESSION['userid'])) {
|
||||
header("location:../controller/admin_login.php");
|
||||
}
|
||||
|
||||
|
||||
$template = "modern";
|
||||
|
||||
function rechte($curpage, $uid){
|
||||
|
Reference in New Issue
Block a user