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