Skip to content

Commit

Permalink
Load RabbitMQ secrets (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Feb 18, 2024
1 parent 8a2f1f9 commit 14715c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
require_once $mySqlSecretsFile;
}

$rabbitMqSecretsFile = "secrets/rabbitMq.secrets.php";
if (file_exists($rabbitMqSecretsFile)) {
require_once $rabbitMqSecretsFile;
}

function loadConfig()
{
$fileName = "config/config.json";
Expand Down

0 comments on commit 14715c1

Please sign in to comment.