Commit a74476a60f67e73a3be180630e75cc1f95fcbc91
1 parent
df8271f8
Test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
site/add.php
@@ -45,7 +45,7 @@ session_start(); | @@ -45,7 +45,7 @@ session_start(); | ||
45 | setup($_POST['raspberry']); | 45 | setup($_POST['raspberry']); |
46 | $cmd = "./cmd.sh"; | 46 | $cmd = "./cmd.sh"; |
47 | //$retour = system($cmd, $retval); | 47 | //$retour = system($cmd, $retval); |
48 | - exec( '"\\var\\www\\html\\P10\\IMA3_P10\\site\\cmd.sh"' ); | 48 | + exec( '"./cmd.sh"' ); |
49 | ?> | 49 | ?> |
50 | <div class="alert alert-success" role="alert"> | 50 | <div class="alert alert-success" role="alert"> |
51 | Le capteur a bien été ajouté ! | 51 | Le capteur a bien été ajouté ! |