Fix ritorno alla home in login e logout

This commit is contained in:
2026-03-31 09:38:26 +02:00
parent 019d9e0764
commit 8abbf13c68
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
</form> </form>
<p style="text-align:center; margin-top:15px;"> <p style="text-align:center; margin-top:15px;">
<a href="index.html" style="color:#007bff; text-decoration:none;">Torna alla Home</a> <a href="index.php" style="color:#007bff; text-decoration:none;">Torna alla Home</a>
</p> </p>
</div> </div>
+1 -1
View File
@@ -2,5 +2,5 @@
session_start(); session_start();
session_unset(); session_unset();
session_destroy(); session_destroy();
header("Location: home.php"); header("Location: index.php");
exit; exit;