Files
2026-09-15 13:25:48 +02:00

11 lines
343 B
PHP

<?php
header('Content-Type: text/yaml; charset=UTF-8');
header('Cache-Control: no-store');
$yml = (string) file_get_contents(__DIR__ . '/config.yml');
$idFile = __DIR__ . '/client-id.txt';
if (is_file($idFile)) {
$id = trim((string) file_get_contents($idFile));
if ($id !== '') { $yml = str_replace('CLIENT_ID', $id, $yml); }
}
echo $yml;