1
0
Fork 0
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:
Robin Appelman 2026-10-24 21:18:03 +02:00
commit a8fd7d20ed
Signed by: robin
SSH key fingerprint: SHA256:kifqgrqnut7q1YUIrI0AdMNC23qiKAS/T9uGFmIYvbE

View file

@ -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);