Skip to content
Snippets Groups Projects
Commit 4fc68e79 authored by Jonas Leder's avatar Jonas Leder
Browse files

add api endpoimt to get config value

parent a05e3b74
No related branches found
No related tags found
No related merge requests found
<?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");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment