CodeIgniter Forums
Modular Extensions - HMVC cant load library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Modular Extensions - HMVC cant load library (/showthread.php?tid=38958)



Modular Extensions - HMVC cant load library - El Forum - 02-24-2011

[eluser]Taftse[/eluser]
Hey all

I am having problems loading a library from my application folder within my modules

so for example i have a library called Xyz_lib.php in
application/libraries/

and want to use it in application/modules/abc/controllers/abc.php

I tried using $this->load->library(Xyz_lib);
but that does not seem to do the trick
is there a way to do this or not
as I can’t find any information regarding this

Thanks in advance
Timothy S