Welcome Guest, Not a member yet? Register   Sign In
Custom library config file
#3

I have a feeling the require_once "config.php" may be part of the issue, but if you can't change the API code, there's only so much you can do. Have you tried using the instance created by the loader:

PHP Code:
$this->libapi->doSomething('.TXT'1); 

instead of this:

PHP Code:
$api = new LibAPI();
$api->doSomething('.TXT'1); 
Reply


Messages In This Thread
Custom library config file - by edo - 12-29-2015, 09:59 PM
RE: Custom library config file - by wolfgang1983 - 12-29-2015, 10:58 PM
RE: Custom library config file - by edo - 12-30-2015, 06:53 PM
RE: Custom library config file - by mwhitney - 12-30-2015, 09:00 AM
RE: Custom library config file - by edo - 12-30-2015, 07:25 PM
RE: Custom library config file - by mwhitney - 12-31-2015, 10:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB