deploy
This commit is contained in:
14
docs/Umsetzungsanweisung/Old-Nexus/config/base_db.php
Normal file
14
docs/Umsetzungsanweisung/Old-Nexus/config/base_db.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Base database for Nexus core (users, settings, modules).
|
||||
* Sync copies the correct file into /config.
|
||||
*/
|
||||
|
||||
$path = __DIR__ . '/db_settings_basic.php';
|
||||
if (!file_exists($path)) {
|
||||
throw new RuntimeException('Missing base DB config: expected config/db_settings_basic.php');
|
||||
}
|
||||
|
||||
return require $path;
|
||||
Reference in New Issue
Block a user