chore: ruim overbodige bestanden op (.htaccess, .env untracked), verplaats schema.sql en voeg .gitattributes toe

This commit is contained in:
2026-09-08 14:42:31 +02:00
parent bf83949396
commit 67b3da5f69
6 changed files with 6 additions and 34 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ function ensure_tables_exist(PDO $pdo): void {
}
// Tabellen ontbreken nog: voer schema.sql uit statement voor statement
$schemaFile = __DIR__ . '/../schema.sql';
$schemaFile = file_exists(__DIR__ . '/schema.sql') ? (__DIR__ . '/schema.sql') : (__DIR__ . '/../schema.sql');
if (file_exists($schemaFile)) {
$sql = file_get_contents($schemaFile);
$statements = array_filter(array_map('trim', explode(';', $sql)));