Launa Posted March 7 Share Posted March 7 I want to use a library that I have hosted within the same module (/module/addons/errores/lib/nusoap). I have tried to include it using the require_once function, but it throws errors about not finding the class that I'm using from the library. I use the function require_once dirname( dirname( DIR ) ) . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . 'nusoap' . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . 'nusoap.php'; The file where I have my code is Controller.php with the path module/addons/errors/lib/Admin 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.