I'm making a module in the ./addons/shared_addons/modules/
directory. The module's called render
.
From within that module I want to access a library that I've put in the ./addons/shared_addons/libraries/
directory. The library's called pchart
If, from the module, I use $this->load->library('pchart')
it fails saying that it can't find the file.
I've tried copying the pchart
library file to the ./system/cms/libraries/
directory, and from there it loads fine, so the file itself is OK. It's just not looking in the right place.
By default it's looking in the module for the library but it's not there. How can I tell PyroCMS to look in the right place?
Thanks.