Temporary fix for redirect to webmail

This commit is contained in:
myvesta 2018-10-03 13:25:52 +02:00 committed by GitHub
commit b45c554d77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,9 @@
<?php
if ($_SERVER['REQUEST_URI']=="/") {
header("Location: /webmail/");
exit;
}
$login_url_skip=0;
if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web/reset/mail/index.php') $login_url_skip=1;
if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web//reset/mail/index.php') $login_url_skip=1;