Skip to content

Commit

Permalink
0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bazilio91 committed May 10, 2015
1 parent cd80cb8 commit 3cb73ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions Newrelic.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace bazilio\yii\newrelic;

require_once __DIR__ . '/vendor/autoload.php';

use bazilio\yii\newrelic\handlers\BaseHandler;
use bazilio\yii\newrelic\handlers\ConsoleHandler;
use bazilio\yii\newrelic\handlers\WebHandler;
Expand Down
1 change: 1 addition & 0 deletions handlers/ConsoleHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public function bootstrap($app)
Application::EVENT_AFTER_ACTION,
function () use ($app) {
foreach ($app->requestedParams as $key => $value) {
$this->getAgent()->backgroundJob();
$this->getAgent()->addCustomParameter($key, (string)$value);
}
}
Expand Down

0 comments on commit 3cb73ff

Please sign in to comment.