diff --git a/public/API/config.php b/public/API/config.php new file mode 100644 index 0000000000000000000000000000000000000000..e8a2ce7be9ff8941d09fbedecb78e59e672a4afa --- /dev/null +++ b/public/API/config.php @@ -0,0 +1,18 @@ +<?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"); +}