Skip to content

Commit b45c554

Browse files
authored
Temporary fix for redirect to webmail
1 parent 41110bf commit b45c554

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web/inc/secure_login.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
if ($_SERVER['REQUEST_URI']=="/") {
3+
header("Location: /webmail/");
4+
exit;
5+
}
6+
27
$login_url_skip=0;
38
if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web/reset/mail/index.php') $login_url_skip=1;
49
if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web//reset/mail/index.php') $login_url_skip=1;

0 commit comments

Comments
 (0)