mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Reverting /web/index.php to default
This commit is contained in:
parent
0652d1e75e
commit
927c288b27
1 changed files with 4 additions and 13 deletions
|
@ -1,16 +1,7 @@
|
|||
<?php
|
||||
|
||||
if (!file_exists('/usr/local/vesta/web/inc/login_url.php')) {
|
||||
session_start();
|
||||
if (isset($_SESSION['user'])) {
|
||||
header("Location: /list/user/");
|
||||
} else {
|
||||
header("Location: /login/");
|
||||
}
|
||||
session_start();
|
||||
if (isset($_SESSION['user'])) {
|
||||
header("Location: /list/user/");
|
||||
} else {
|
||||
require_once('/usr/local/vesta/web/inc/login_url.php');
|
||||
if (isset($_GET[$login_url])) {
|
||||
require_once('/usr/local/vesta/web/inc/secure_login.php');
|
||||
}
|
||||
header("Location: /webmail/");
|
||||
header("Location: /login/");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue