Skip to content

Commit 07db9c5

Browse files
committed
Merge pull request hestiacp#435 from kkprince1998/fix-nginx-redir
fix 1/2
2 parents 979acdd + e0e4964 commit 07db9c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
session_start();
33
if (isset($_SESSION['user'])) {
4-
header("Location: /list/user");
4+
header("Location: /list/user/");
55
} else {
66
header("Location: /login/");
77
}

web/list/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
session_start();
33
if (isset($_SESSION['user'])) {
4-
header("Location: /list/user");
4+
header("Location: /list/user/");
55
} else {
66
header("Location: /login/");
77
}

0 commit comments

Comments
 (0)