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 c8bf9c1 commit f386e5dCopy full SHA for f386e5d
web/edit/web/index.php
@@ -91,6 +91,7 @@
91
92
if(!empty($v_custom_doc_root) &&
93
false !== preg_match('/\/home\/'.$v_username.'\/web\/([[:alnum:]].*?)\/public_html\/([[:alnum:]].*)?/', $v_custom_doc_root, $matches) ) {
94
+ // Regex for extracting target web domain and custom document root. Regex test: https://regex101.com/r/2CLvIF/1
95
96
if(!empty($matches[1]))
97
$v_custom_doc_domain = $matches[1];
0 commit comments