3require_once dirname(__DIR__, 2) .
'/vendor/autoload.php';
4require_once dirname(__DIR__) .
'/dbxKernel.php';
6$fail =
static function (
string $message,
int $code): void {
7 fwrite(STDERR,
"FAIL: $message\n");
11$localFile = tempnam(sys_get_temp_dir(),
'dbx-install-config-');
13 $fail(
'Temporäre lokale Konfiguration konnte nicht erstellt werden.', 1);
17 $method =
new ReflectionMethod(dbxApi::class,
'normalize_legacy_install_config');
21 if ((
$legacy[
'install'] ??
null) !== 0) {
22 $fail(
'Bestehende Legacy-Installation wird nicht als installiert erkannt.', 2);
27 $fail(
'Expliziter lokaler Installationsmodus wird überschrieben.', 3);
32 $fail(
'Kompatibilitätsregel greift außerhalb des Kernmoduls.', 4);
37 $fail(
'Neuinstallation ohne lokale Konfiguration wird übersprungen.', 5);
45echo
"OK legacy install configuration compatibility (4)\n";
if(array_key_exists('install', $otherModule)) $missingFile
if(($legacy['install'] ?? null) !==0) $explicitInstaller
if(($explicitInstaller['install'] ?? null) !==1) $otherModule
DBX schema administration.