-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP custom Plugin problem #516
Comments
please shared your project files. BYW,if you use tp5, follow https://github.com/pinpoint-apm/pinpoint-c-agent/tree/master/plugins/PHP/Framework/ThinkPHP5 |
I don't use any framework in my PHP project. I instrument the functions I want to instrument with "///hook...". But the plugin only works if I put it in the /Plugins/AutoGen folder instead of directly in /Plugins. Here is my example project: Do I have to use a framework which is supported or have I configured something wrong? |
Hello pinpoint team.
If I add my TestPlugin in the index.php defined plugins folder like this:
define('PLUGINS_DIR',__DIR__.'/Plugins/');
my plugin does not work.
But if I create another folder called AutoGen in the Plugins folder like in the testapp and insert my test plugin in the AutoGen folder it works.
Is this normal or have I misunderstood something because here https://github.com/pinpoint-apm/pinpoint-c-agent/blob/master/plugins/PHP/Readme.md in step 5 it just says paste plugin in Plugins source tree and not in Plugins/AutoGen?
The text was updated successfully, but these errors were encountered: