Skip to content

Commit 927c288

Browse files
authored
Reverting /web/index.php to default
1 parent 0652d1e commit 927c288

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

web/index.php

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
<?php
2-
3-
if (!file_exists('/usr/local/vesta/web/inc/login_url.php')) {
4-
session_start();
5-
if (isset($_SESSION['user'])) {
6-
header("Location: /list/user/");
7-
} else {
8-
header("Location: /login/");
9-
}
2+
session_start();
3+
if (isset($_SESSION['user'])) {
4+
header("Location: /list/user/");
105
} else {
11-
require_once('/usr/local/vesta/web/inc/login_url.php');
12-
if (isset($_GET[$login_url])) {
13-
require_once('/usr/local/vesta/web/inc/secure_login.php');
14-
}
15-
header("Location: /webmail/");
6+
header("Location: /login/");
167
}

0 commit comments

Comments
 (0)