toltis Posted June 28, 2015 Share Posted June 28, 2015 Hi, I'm developing an addon, and to get it compatible with WHMCS 5 and 6 I need to get the current version running to disable or enable some code. How could I get it? Regards 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted June 28, 2015 Share Posted June 28, 2015 use this global variable $CONFIG['Version'] you can call it from admin/client area, action hooks, and all modules 0 Quote Link to comment Share on other sites More sharing options...
toltis Posted June 29, 2015 Author Share Posted June 29, 2015 Thank you! 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.