website/public/API/config.php

19 lines
317 B
PHP
Raw Normal View History

2021-04-12 20:10:29 +02:00
<?php
require "./lib/config.php";
$configValue = $_GET['name'];
switch ($configValue){
case "contactmail":
echo($contactmail);
break;
case "sitekey":
echo($sitekey);
break;
case "trackURL":
echo($trackurl);
break;
default:
echo("notFound");
}