Welcome Guest, Not a member yet? Register   Sign In
load->library('upload', $config) bug?
#1

Hey All,

In my recent project I seem to be having a problem passing a config array into my library on load. When I pass an array as the second parameter it is actually never passed into the upload class constructor.

The obvious workaround is to load the library first then pass the config array into the initialize function.

Can someone confirm if this is a bug or is just something stupid with my installation.

Tested on v3.0.0 and v3.0.1
Reply
#2

Is it possible that the library was already loaded before you attempted to load it with the config array? (In other words, is it in the autoload or loaded earlier by the controller or some other class which may have been loaded?)
Reply




Theme © iAndrew 2016 - Forum software by © MyBB