mirror of
https://github.com/sigmasternchen/PiSwitch
synced 2025-03-16 00:19:02 +00:00
Update switch.php
This commit is contained in:
parent
b741bd3551
commit
b31014f9c3
1 changed files with 0 additions and 12 deletions
12
switch.php
12
switch.php
|
@ -59,16 +59,4 @@ if(isset($_POST['sent30'])){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(isset($_POST['kette1'])){
|
|
||||||
shell_exec('sudo script/kette1.sh');
|
|
||||||
echo "<script type='text/javascript'>alert('$name4 angeschalten');</script>";
|
|
||||||
echo "<script type='text/javascript'>window.location.href='index.php';</script>";
|
|
||||||
}
|
|
||||||
|
|
||||||
if(isset($_POST['kette0'])){
|
|
||||||
shell_exec('sudo script/kette0.sh');
|
|
||||||
echo "<script type='text/javascript'>alert('$name4 ausgeschalten');</script>";
|
|
||||||
echo "<script type='text/javascript'>window.location.href='index.php';</script>";
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue