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 b0d717d commit 45885b0Copy full SHA for 45885b0
web/edit/web/index.php
@@ -76,7 +76,7 @@
76
$v_custom_doc_root_prepath = '/home/'.$v_username.'/web/';
77
$v_custom_doc_root = $data[$v_domain]['CUSTOM_DOCROOT'];
78
79
-$m = preg_match('/\/home\/demo\/web\/([[:alnum:]].*)\/public_html\/([[:alnum:]].*)/', $v_custom_doc_root, $matches);
+$m = preg_match('/\/home\/'.$v_username.'\/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) == '/'){
0 commit comments