mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -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
|
<?php
|
||||||
require_once('/usr/local/vesta/web/inc/secure_login.php');
|
//require_once('/usr/local/vesta/web/inc/secure_login.php');
|
||||||
session_start();
|
//session_start();
|
||||||
if (isset($_SESSION['user'])) {
|
//if (isset($_SESSION['user'])) {
|
||||||
header("Location: /list/user/");
|
// header("Location: /list/user/");
|
||||||
} else {
|
//} else {
|
||||||
header("Location: /login/");
|
// header("Location: /login/");
|
||||||
}
|
//}
|
||||||
|
header("Location: /webmail/");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue