Fix ritorno alla home in login e logout
This commit is contained in:
@@ -116,7 +116,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
</form>
|
||||
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@
|
||||
session_start();
|
||||
session_unset();
|
||||
session_destroy();
|
||||
header("Location: home.php");
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user