Nathanael Posted March 13, 2013 Share Posted March 13, 2013 Hi: Seems that its not possible to use __autoload on custom modules anymore. It is a bug or a "security feature". Best regards 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted March 13, 2013 WHMCS CEO Share Posted March 13, 2013 We have a new auto load function in the core of WHMCS as of V5.2 but this should not stop you using your own. Are you getting any specific error messages? Matt 0 Quote Link to comment Share on other sites More sharing options...
Nathanael Posted March 13, 2013 Author Share Posted March 13, 2013 Class not found because my autoload isn't working. Apart from that, its like my autoload is ignored. 0 Quote Link to comment Share on other sites More sharing options...
Nathanael Posted March 13, 2013 Author Share Posted March 13, 2013 a workaround is to use spl_autoload_register with a custom autoload method. 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.