New Filestructure for Docker
This commit is contained in:
@@ -29,10 +29,6 @@ try {
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
$prefix = $_ENV['DB_PREFIX'] ?? '';
|
||||
|
||||
|
||||
$tableDefinitions = [
|
||||
'teilnehmende' => 'DB_TABLE_TEILNEHMENDE',
|
||||
'verbuchte_startgebueren' => 'DB_TABLE_VERBUCHTE_STARTGEBUEREN',
|
||||
@@ -62,9 +58,7 @@ foreach ($tableDefinitions as $baseName => $envVarKey) {
|
||||
|
||||
$rawTableName = $_ENV[$envVarKey] ?? '';
|
||||
|
||||
$fullTableName = $prefix . $rawTableName;
|
||||
|
||||
$variableName = 'db_tabelle_' . $baseName;
|
||||
|
||||
$$variableName = $fullTableName;
|
||||
$$variableName = $rawTableName;
|
||||
}
|
||||
Reference in New Issue
Block a user