phpstan level 0 error free - fixes for kyu subpage - move mams into participo framework - remove legacy `lib/db.php` usage - add attributer admin function - add newsposter - fixing apiKey creation
19 lines
450 B
PHP
19 lines
450 B
PHP
<?php
|
|
require_once "bootstrap.php";
|
|
|
|
require_once "participoLib/participo.php";
|
|
require_once "participoLib/planer.php";
|
|
|
|
// @todo: Legacy libs! Remove!
|
|
require_once "./lib/api.php";
|
|
|
|
participo::init($CONFIG["cwsvJudo"], $SECRETS["cwsvJudo"]);
|
|
|
|
$userData = getUserData($_SESSION["user"]["userId"]);
|
|
|
|
$meta = [
|
|
"title" => "Event Planer",
|
|
"description" =>
|
|
"Planung von (Nicht-)Teilnahmen an Wettkämpfen und anderen Veranstaltungen",
|
|
];
|