M0 Einrichtung

This commit is contained in:
2026-07-11 22:24:22 +02:00
parent 6f99e7246d
commit 2e6d79e896
21 changed files with 1246 additions and 22 deletions
+8 -4
View File
@@ -1,5 +1,9 @@
<?php
if ((getenv('APP_DB_DRIVER') ?: '') === 'mysql' && !function_exists('sqlsrv_connect')) {
require_once __DIR__ . '/lib/sqlsrv_mysql_compat.php';
}
### ZUGANGSDATEN AD
$aduser = '';
$adpassword = '';
@@ -23,11 +27,11 @@ $zugriffsalleAbwesenheitgroup = '';
$zugriffsAdminsgroup = '';
// Verbindung zur Datenbank herstellen (ersetze die Platzhalter durch deine Daten)
$serverName = "";
$serverName = getenv('DB_HOST') ?: "";
$connectionOptions = array(
"Database" => "",
"Uid" => "",
"PWD" => "",
"Database" => getenv('DB_NAME') ?: "",
"Uid" => getenv('DB_USER') ?: "",
"PWD" => getenv('DB_PASS') ?: "",
"TrustServerCertificate"=>true
);