We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7119d commit fdb6bafCopy full SHA for fdb6baf
web/inc/secure_login.php
@@ -1,7 +1,9 @@
1
<?php
2
-if (isset($_SERVER['REQUEST_URI']) && $_SERVER['REQUEST_URI']=="/") {
3
- header("Location: /webmail/");
4
- exit;
+if (file_exists('/usr/local/vesta/web/inc/nginx_proxy')==true) {
+ if (isset($_SERVER['REQUEST_URI']) && $_SERVER['REQUEST_URI']=="/") {
+ header("Location: /webmail/");
5
+ exit;
6
+ }
7
}
8
9
$login_url_skip=0;
0 commit comments