First changes for Docker
This commit is contained in:
@@ -31,7 +31,7 @@ if ($type === 'kr'){
|
||||
|
||||
require __DIR__ . '/../../composer/vendor/autoload.php';
|
||||
|
||||
$envFile = realpath(__DIR__ . '/../../config/.env.db');
|
||||
$envFile = realpath(__DIR__ . '/../../config/.env.db-wkvs-user');
|
||||
|
||||
if ($envFile === false) {
|
||||
http_response_code(500);
|
||||
@@ -45,7 +45,7 @@ if ($envFile === false) {
|
||||
try {
|
||||
$envDir = dirname($envFile);
|
||||
|
||||
$dotenv = Dotenv::createImmutable($envDir, '.env.db');
|
||||
$dotenv = Dotenv::createImmutable($envDir, '.env.db-wkvs-user');
|
||||
|
||||
$dotenv->load();
|
||||
} catch (Throwable $e) {
|
||||
|
||||
Reference in New Issue
Block a user