Skip to content

Commit 1e6e28c

Browse files
committed
opti name file 'hack' github
1 parent d806f9f commit 1e6e28c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

App.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

33
//navbar
4-
require_once "component/nav.php";
4+
require_once "component/nav.html";
55

66

77
//form connexion
88
if (empty($_POST['username']) && empty($_POST['password'])){
9-
require_once "component/form.php";
9+
require_once "component/form.html";
1010
}
1111

1212
//form remplie
File renamed without changes.

component/nav.php component/nav.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<img src="https://tyrolium.fr/Contenu/Image/Tyrolium Site.png" alt="" width="34" class="d-inline-block align-text-top">
66
Tyrolium Panel
77
</a>
8-
<form class="form-inline">
8+
<form class="form-inline" method="POST">
99
<button class="btn btn-outline-danger my-2 my-sm-0" type="submit">Déconnexion</button>
1010
</form>
1111
</div>

0 commit comments

Comments
 (0)