Semi-stable version with old variable names

This commit is contained in:
Fabio Herzig
2026-07-16 18:43:30 +02:00
parent 3731183654
commit c8e7ce9174
165 changed files with 25654 additions and 9728 deletions
@@ -1,9 +1,5 @@
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
header('Content-Type: application/json');
if (!isset($baseDir)) {
@@ -31,10 +27,14 @@ require $baseDir . '/../scripts/db/db-tables.php';
$allowedTypes = [
'wkName',
'displayCTextLogo',
'displayCTextWKName',
'displayColourLogo',
'displayTextColourLogo',
'displayColorScoringBg',
'displayColorScoringBgSoft',
'displayColorScoringShadowColor',
'displayColorScoringBorderColor',
'displayColorScoringPanel',
'displayColorScoringPanelSoft',
'displayColorScoringPanelText',
@@ -53,8 +53,15 @@ $allowedTypes = [
'maxLengthMusic',
'linkWebseite',
'rangNote',
'orderBestRang'
'orderBestRang',
'rechnungenPostversand',
'rechnungenPostversandKosten',
'personEinzahl',
'personMehrzahl',
'rankLivePublic',
'riegeneinteilungPublic'
];
$type = $_POST['type'] ? trim($_POST['type']) : '';
if (!in_array($type, $allowedTypes)) {