+7
-7
@@ -44,13 +44,13 @@ class hyproxys extends AmysqlModel
|
||||
$proxy_pass = 'http://'.$proxy_pass;
|
||||
}
|
||||
$data = array(
|
||||
'server_name' => $server_name,
|
||||
'index' => 'index.php index.html index.htm',
|
||||
'header_host' => '$host',
|
||||
'proxy_pass' => $proxy_pass,
|
||||
'proxy_cache' => 1,
|
||||
'status' => 'start',
|
||||
'time' => time()
|
||||
'server_name' => $server_name,
|
||||
'index' => 'index.php index.html index.htm',
|
||||
'header_host' => '$host',
|
||||
'proxy_pass' => $proxy_pass,
|
||||
'proxy_cache' => 1,
|
||||
'status' => 'start',
|
||||
'time' => time()
|
||||
);
|
||||
$res = $this -> _insert('module_hyproxy', $data);
|
||||
if ($res) {
|
||||
|
||||
Reference in New Issue
Block a user