将rollbar集成到我的Cakephp项目中

将rollbar集成到我的Cakephp项目中,cakephp,rollbar,Cakephp,Rollbar,我不想将Rollbar集成到我的cakephp项目中,但我不知道在我的应用程序中哪里包含引用Rollbar的代码? 我用过这个密码 <?php use \Rollbar\Rollbar; // Installs global error and exception handlers $config = array( // required 'access_token' => 'MY_ACCESS_TOKEN', // optional - environme

我不想将Rollbar集成到我的cakephp项目中,但我不知道在我的应用程序中哪里包含引用Rollbar的代码? 我用过这个密码

<?php
use \Rollbar\Rollbar;

// Installs global error and exception handlers
$config = array(
    // required
    'access_token' => 'MY_ACCESS_TOKEN',
    // optional - environment name
    'environment' => 'production',
);
Rollbar::init($config);

我应该将此代码放入bootstrap.php

use \Rollbar\Rollbar;

// Installs global error and exception handlers
$config = array(
    // required
    'access_token' => 'ACCESS_TOKEN',
    // optional - environment name
    'environment' => 'production',
    // optional - path to directory your code is in. Used for linking stack traces.
    'root' => '/Users/brian/www/myapp'
);
Rollbar::init($config);

Hey Wajdi-使用rollbar php获取帮助的最佳方法是在以下位置创建问题。我们的工程师直接对这些罚单做出反应,并可以帮助您。@JesseGibbs谢谢,问题解决了。