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 1913b75 commit b0d717dCopy full SHA for b0d717d
web/edit/web/index.php
@@ -79,7 +79,9 @@
79
$m = preg_match('/\/home\/demo\/web\/([[:alnum:]].*)\/public_html\/([[:alnum:]].*)/', $v_custom_doc_root, $matches);
80
$v_custom_doc_domain = $matches[1];
81
$v_custom_doc_folder = $matches[2];
82
-
+if(substr($v_custom_doc_folder, -1) == '/'){
83
+ $v_custom_doc_folder = substr($v_custom_doc_folder,0,-1);
84
+}
85
86
87
$v_ftp_user = $data[$v_domain]['FTP_USER'];
0 commit comments