[eluser]jlester[/eluser]
I have the following code:
Code:
$mods = Array('Contact_library', 'Deal_library', 'Project_library', 'Task_library', 'Time_library');
foreach ($mods as $m) {
$this->load->library($m, '', 'modlib');
print_r($this->modlib);
}
My output looks like:
contact_library
contact_library
project_library
task_library
time_library
This is almost right, except it's loading the contact_library twice (or not replacing it with the deal_library). Everything else is correct. Nothing I have tried has managed to get it to load the deal_library.
This seems very strange to me. Any ideas what might be causing this?