21 lines
574 B
PHP
21 lines
574 B
PHP
<?php
|
|
/** @var array $CONFIG basic configurations (defined via bootstraping) */
|
|
/** @var array $SECRETS passwords and other stuff worth of protection (defined via bootstraping) */
|
|
require_once "bootstrap.php";
|
|
|
|
// libraries
|
|
require_once "participoLib/participo.php";
|
|
require_once "participoLib/dbConnector.php";
|
|
|
|
// init the db connector
|
|
participo::init($CONFIG["cwsvJudo"], $SECRETS["cwsvJudo"]);
|
|
|
|
if (!participo::isUserAdmin()) {
|
|
header("Location: /participo", true, 301);
|
|
}
|
|
|
|
$meta = [
|
|
"title" => "AdminStuff",
|
|
"description" => "Administrative Verwaltung",
|
|
];
|