snowair / phalcon-debugbar

A powerful debug and profilers tool for the Phalcon Framework
MIT License
162 stars 49 forks source link

Activating collectors #36

Closed metehan closed 8 years ago

metehan commented 8 years ago

i have added following line in public/index.php but nothing effected. What is the proper way to add collectors.

$di['debugbar']->addCollector(new Snowair\Debugbar\DataCollector\PhalconRequestCollector);

snowair commented 8 years ago

You needn't add collectors by yourself. Use the config file:

https://github.com/snowair/phalcon-debugbar#use-your-config

metehan commented 8 years ago

Thank you. This solved my issue.