Update scf.php

pull/13/head
qkqpttgf 2020-01-18 19:45:05 +08:00 committed by GitHub
parent 01a05c9cc4
commit cb7dc8b7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -450,7 +450,7 @@ namespace:' . $namespace . '<br>
$tmp[$k] = $v;
}
}
if ($tmp['domain_path']!='') {
/*if ($tmp['domain_path']!='') {
$tmp1 = explode("|",$tmp['domain_path']);
$tmparr = [];
foreach ($tmp1 as $multidomain_paths){
@ -458,7 +458,7 @@ namespace:' . $namespace . '<br>
if ($pos>0) $tmparr[substr($multidomain_paths, 0, $pos)] = path_format(substr($multidomain_paths, $pos+1));
}
$tmp['domain_path'] = $tmparr;
}
}*/
$response = setConfig($tmp);
if (isset($response['Error'])) {
$html = $response['Error']['Code'] . '<br>
@ -524,7 +524,7 @@ namespace:' . $Namespace . '<br>
</select>
</td>
</tr>';
} elseif ($key=='domain_path') {
} /*elseif ($key=='domain_path') {
$tmp = getConfig($key);
$domain_path = '';
foreach ($tmp as $k1 => $v1) {
@ -536,7 +536,7 @@ namespace:' . $Namespace . '<br>
<td><label>' . $key . '</label></td>
<td width=100%><input type="text" name="' . $key .'" value="' . $domain_path . '" placeholder="' . getconstStr('EnvironmentsDescription')[$key] . '" style="width:100%"></td>
</tr>';
} else $html .= '
}*/ else $html .= '
<tr>
<td><label>' . $key . '</label></td>
<td width=100%><input type="text" name="' . $key .'" value="' . getConfig($key) . '" placeholder="' . getconstStr('EnvironmentsDescription')[$key] . '" style="width:100%"></td>