mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-04 19:49:16 +00:00
Code improve
This commit is contained in:
@@ -75,18 +75,18 @@ class ToolsController extends Controller
|
||||
$data = [];
|
||||
foreach ($content->port_password as $port => $passwd) {
|
||||
$data[] = [
|
||||
'u' => 0,
|
||||
'd' => 0,
|
||||
'enable' => 1,
|
||||
'method' => $method,
|
||||
'obfs' => $obfs,
|
||||
'obfs_param' => empty($obfs_param) ? '' : $obfs_param,
|
||||
'passwd' => $passwd,
|
||||
'port' => $port,
|
||||
'protocol' => $protocol,
|
||||
'protocol_param' => empty($protocol_param) ? '' : $protocol_param,
|
||||
'u' => 0,
|
||||
'd' => 0,
|
||||
'enable' => 1,
|
||||
'method' => $method,
|
||||
'obfs' => $obfs,
|
||||
'obfs_param' => empty($obfs_param) ? '' : $obfs_param,
|
||||
'passwd' => $passwd,
|
||||
'port' => $port,
|
||||
'protocol' => $protocol,
|
||||
'protocol_param' => empty($protocol_param) ? '' : $protocol_param,
|
||||
'transfer_enable' => $transfer_enable,
|
||||
'user' => date('Ymd').'_IMPORT_'.$port,
|
||||
'user' => date('Ymd').'_IMPORT_'.$port,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user