ilijamt Posted April 20, 2016 Share Posted April 20, 2016 Hi, I've setup logging on the widget and I've noticed that the widget is called 3 times, any reason why it would this be ? if (!defined('WHMCS')) { exit('This file cannot be accessed directly'); } function widget_test_panel($vars) { localAPI("logactivity", array("description" => "I'm in")); } This one shows multiple times in the log activity? How can I disable this, it's stupid to start the widget multiple times. I've tried this even on whmcs_news.php widget and same thing happens, by just adding the localAPI function at the begining of the function. I get 4 entries in the logs 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.