• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does folder exist

#11
(08-29-2019, 03:09 AM)InsiteFX Wrote: Are you auto loading the session library also?

PHP Code:
// Load the messages library
$autoload['libraries'] = array(
    'session',
    'messages',
); 

You need to be running the session library because that is what the message library is using.

I loaded "library" not "libraries" and that opened. I now need to see if the message works coz I suspect "file_exists" and "die" will have limitations particularly when continuing the process, however I'll look into that later to see what works.

This is what I put into the Controller and it opened, and I didn't touch the autoload.php.

PHP Code:
$this->load->library('session''messages'); 
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.