Redirect to webmail by default

This commit is contained in:
dpeca 2018-04-10 03:36:52 +02:00 committed by GitHub
commit 2404294185
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/");