Gestion d'erreur sur les stats
This commit is contained in:
@@ -10,14 +10,17 @@
|
|||||||
<section>
|
<section>
|
||||||
<h1><?=$head['title']?></h1>
|
<h1><?=$head['title']?></h1>
|
||||||
<br>
|
<br>
|
||||||
<br><h3>Retour de l'execution de la commande :</h3><br>
|
<h3>Retour de l'execution de la commande :</h3><br>
|
||||||
<pre><?
|
<pre><?
|
||||||
foreach($output as $line) {
|
foreach($output as $line) {
|
||||||
echo $line."<br>";
|
echo $line."<br>";
|
||||||
}
|
}
|
||||||
?></pre>
|
?></pre>
|
||||||
<br>
|
<? if ($result === 0 && file_exists($report)) { ?>
|
||||||
<br><a href='/report.html' target='_blank'><i class="fas fa-chart-line"></i> Voir le rapport</a>
|
<a href='/report.html' target='_blank'><i class="fas fa-chart-line"></i> Voir le rapport</a>
|
||||||
|
<? } else { ?>
|
||||||
|
Echec de la commande
|
||||||
|
<? } ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<? include('blocks/d.footer.html'); ?>
|
<? include('blocks/d.footer.html'); ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user