Calling $this->library('libraryName', $config) in CodeIgniter does not load/instantiate the library
I'm using an older version of CodeIgniter when the application folder was still in system/application. I have pulled the application folder out of system such that the application folder is now at the same level as system. BEFORE: /system/application/ NOW: /application/ /system/ Question: How do I now load libraries? In one of my controllers, I tried this: $config['protocol'] = 'sendmail'; $config['mailpath'] = '/usr/sbin/sendmail'; $config['mailtype'] = 'html'; $config['charset'] = 'iso-8859-1'; $config['wordwrap'] = TRUE; $this->library('email', $config); The application dies when it tries t
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.