add config api endpoint
This commit is contained in:
parent
4b4d6680d7
commit
6d20650643
1 changed files with 12 additions and 0 deletions
12
public/API/config.php
Normal file
12
public/API/config.php
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<?php
|
||||||
|
require "./lib/config.php";
|
||||||
|
|
||||||
|
$configValue = $_GET['name'];
|
||||||
|
|
||||||
|
switch ($configValue){
|
||||||
|
case "sitekey":
|
||||||
|
echo($sitekey);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
echo("notFound");
|
||||||
|
}
|
Loading…
Reference in a new issue