22 lines
641 B
PHP
22 lines
641 B
PHP
<?php
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
$app = require_once __DIR__ . '/../bootstrap/app.php';
|
|
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
|
$kernel->bootstrap();
|
|
|
|
$mdb1 = 'storage/app/amministratori/HWFGITXK/legacy/0021/0001/singolo_anno.mdb';
|
|
$mdb3 = 'storage/app/amministratori/HWFGITXK/legacy/0021/0003/singolo_anno.mdb';
|
|
|
|
function checkMdbTables($mdb) {
|
|
if (!is_file($mdb)) {
|
|
echo "File not found: $mdb\n";
|
|
return;
|
|
}
|
|
echo "\nTables in $mdb:\n";
|
|
$out = shell_exec("mdb-tables " . escapeshellarg($mdb));
|
|
echo $out . "\n";
|
|
}
|
|
|
|
checkMdbTables($mdb1);
|
|
checkMdbTables($mdb3);
|