mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
mvc: style sweep
This commit is contained in:
parent
f48e891ed8
commit
39f95f01e9
@ -261,7 +261,7 @@ class NetworkinsightController extends ApiControllerBase
|
||||
) {
|
||||
$this->response->setRawHeader("Content-Type: application/octet-stream");
|
||||
$this->response->setRawHeader("Content-Disposition: attachment; filename=".$provider.".csv");
|
||||
if ($this->request->isGet() && $provider != null && $resolution != null ) {
|
||||
if ($this->request->isGet() && $provider != null && $resolution != null) {
|
||||
$backend = new Backend();
|
||||
$configd_cmd = "netflow aggregate export {$provider} {$from_date} {$to_date} {$resolution}";
|
||||
$response = $backend->configdRun($configd_cmd);
|
||||
|
||||
@ -133,7 +133,7 @@ class MenuSystem
|
||||
}
|
||||
}
|
||||
natcasesort($fwarr);
|
||||
$fwarr = array_merge(array('FloatingRules' => gettext('Floating')), $fwarr);
|
||||
$fwarr = array_merge(array('FloatingRules' => gettext('Floating')), $fwarr);
|
||||
$ordid = 0;
|
||||
foreach ($fwarr as $key => $descr) {
|
||||
$this->appendItem('Firewall.Rules', $key, array(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user