Skip to content

Commit 1c82483

Browse files
Merge branch 'master' of github.com:serghey-rodin/vesta
2 parents 5c30f7c + 7f2e2fb commit 1c82483

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/add/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
if (!empty($v_domain)) $v_ftp_user_prepath .= $v_domain;
9090

9191
// Set advanced option checkmark
92-
if (empty($_POST['v_proxy'])) $v_adv = 'yes';
92+
if (!empty($_POST['v_proxy'])) $v_adv = 'yes';
9393
if (!empty($_POST['v_ftp'])) $v_adv = 'yes';
9494
if ($_POST['v_proxy_ext'] != $v_proxy_ext) $v_adv = 'yes';
9595
if ((!empty($_POST['v_aliases'])) && ($_POST['v_aliases'] != 'www.'.$_POST['v_domain'])) $v_adv = 'yes';

web/templates/admin/add_web.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,6 @@
386386
</div>
387387

388388
<script>
389-
GLOBAL.FTP_USER_PREFIX = <?=json_encode($user)?>;
389+
GLOBAL.FTP_USER_PREFIX = <?=json_encode($user.'_')?>;
390390
GLOBAL.FTP_USER_PREPATH = <?=json_encode($v_ftp_user_prepath)?>;
391391
</script>

0 commit comments

Comments
 (0)