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