[eluser]TheFuzzy0ne[/eluser]
The reason I was asking is because I'm messing around with methods that allow you to pass parameters to libraries and models via the autoload.php file via arrays. I've currently implemented my changes
around that line of code, when it would probably be a lot easier to just get rid of it so it makes more sense.
If the $libraries variable is an array, then $object_name (and possibly $params) should not be passed to the library loader IMHO. I'd like to add an extra test in there, so that the first parameter to the library() loader method can be something like this:
Code:
$autoload['libraries'] = array(
'session',
array(
'my_lib',
NULL,
'new_name'
),
array(
'my_lib2',
'some_arg'
), # And so on...
);
I'd also like to make the model loader method work in a similar fashion.
So in short I just needed to know that I was missing something, so I can get rid of that line in my overriding Loader methods.
Thanks for your input.