mirror of
https://codeberg.org/demostf/api.git
synced 2026-11-30 04:30:48 +01:00
remove debug output
This commit is contained in:
parent
be3540fbb5
commit
a8fd7d20ed
1 changed files with 0 additions and 1 deletions
|
|
@ -15,7 +15,6 @@ $autoloader = require __DIR__ . '/../vendor/autoload.php';
|
||||||
|
|
||||||
function getEnvVar(string $name): string {
|
function getEnvVar(string $name): string {
|
||||||
$var = getenv($name) ?: '';
|
$var = getenv($name) ?: '';
|
||||||
error_log("$name='$var'");
|
|
||||||
if (str_contains($var, '$CREDENTIALS_DIRECTORY')) {
|
if (str_contains($var, '$CREDENTIALS_DIRECTORY')) {
|
||||||
$credentialsDirectory = getenv('CREDENTIALS_DIRECTORY') ?: '';
|
$credentialsDirectory = getenv('CREDENTIALS_DIRECTORY') ?: '';
|
||||||
$path = str_replace('$CREDENTIALS_DIRECTORY', $credentialsDirectory, $var);
|
$path = str_replace('$CREDENTIALS_DIRECTORY', $credentialsDirectory, $var);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue