Website
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?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;
|
||||
Reference in New Issue
Block a user