diff --git a/config/parameters.yml.dist b/config/parameters.yml.dist index 1219ace..8b79e2d 100644 --- a/config/parameters.yml.dist +++ b/config/parameters.yml.dist @@ -8,6 +8,7 @@ db: base_url: / #base_url: /pinboard/ #base_url: http://your-host.com/pinboard +min_error_code: 302 logging: # in seconds long_request_time: diff --git a/src/Pinboard/Command/AggregateCommand.php b/src/Pinboard/Command/AggregateCommand.php index 5e44a4b..3780e29 100644 --- a/src/Pinboard/Command/AggregateCommand.php +++ b/src/Pinboard/Command/AggregateCommand.php @@ -452,7 +452,7 @@ protected function execute(InputInterface $input, OutputInterface $output) FROM request WHERE - status >= 500 + status >= '.$this->params['min_error_code'].' GROUP BY server_name, hostname, script_name LIMIT @@ -762,4 +762,4 @@ private function sendBorderOutEmails($data) unset($message); } -} \ No newline at end of file +} diff --git a/web/css/tableStyle.css b/web/css/tableStyle.css index 874a8b2..c108c17 100644 --- a/web/css/tableStyle.css +++ b/web/css/tableStyle.css @@ -1,6 +1,6 @@ /* tables */ table.tablesorter thead tr .header { - background-image: url(/img/bg.gif); + background-image: url(../img/bg.gif); background-repeat: no-repeat; background-position: center right; cursor: pointer; @@ -8,11 +8,11 @@ table.tablesorter thead tr .header { } table.tablesorter thead tr .headerSortUp { - background-image: url(/img/asc.gif); + background-image: url(../img/asc.gif); } table.tablesorter thead tr .headerSortDown { - background-image: url(/img/desc.gif); + background-image: url(../img/desc.gif); } table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp { background-color: #C1DBE9; -} \ No newline at end of file +}