mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Redirect to webmail by default
This commit is contained in:
parent
84adfcc4ed
commit
2404294185
1 changed files with 8 additions and 7 deletions
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
require_once('/usr/local/vesta/web/inc/secure_login.php');
|
||||
session_start();
|
||||
if (isset($_SESSION['user'])) {
|
||||
header("Location: /list/user/");
|
||||
} else {
|
||||
header("Location: /login/");
|
||||
}
|
||||
//require_once('/usr/local/vesta/web/inc/secure_login.php');
|
||||
//session_start();
|
||||
//if (isset($_SESSION['user'])) {
|
||||
// header("Location: /list/user/");
|
||||
//} else {
|
||||
// header("Location: /login/");
|
||||
//}
|
||||
header("Location: /webmail/");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue