ops, adding php made index.php admin-page
This commit is contained in:
parent
f9534d651a
commit
cc7cda157a
|
|
@ -5,12 +5,6 @@ require_once 'konfiguration.php';
|
||||||
require 'SQL.php';
|
require 'SQL.php';
|
||||||
$db_link = ConnectDB();
|
$db_link = ConnectDB();
|
||||||
require '_login.php';
|
require '_login.php';
|
||||||
|
|
||||||
if ($AdminStatus != 1) {
|
|
||||||
//Seite nur fuer Admins. Weiter zu index.php und exit, wenn kein Admin
|
|
||||||
echo '<!doctype html><head><meta http-equiv="Refresh" content="0; URL=index.php" /></head></html>';
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang=de>
|
<html lang=de>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue