Initial commit
This commit is contained in:
22
actions/apply-settings.php
Normal file
22
actions/apply-settings.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|
||||
Es gibt nur einen Steckertypen, daher ist dies zunächst irrelvant
|
||||
|
||||
$type = $_GET["type"];
|
||||
|
||||
$settings = json_decode(file_get_contents("../settings.json"), true);
|
||||
|
||||
$plug = $settings["plug"]; //$plug ist die plug-ID!
|
||||
|
||||
|
||||
Weitere Zeilen entfernt. Speicherung wäre notwendig.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
echo "Sp Dr L30";
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user