Problem loading 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: Problem loading library (/showthread.php?tid=60322) |
Problem loading library - El Forum - 03-01-2014 [eluser]Unknown[/eluser] hello, i'm newly using codeigniter to create site. But i'm getting some trouble when loading library. I have to load a library in my controller fucntion to make the site work, i don't understand why. I thought if i just do it in my constructor this will be available in my functions. If somebody can help. Thanks in advance and sorry for my english. This is my code : Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Problem loading library - El Forum - 03-01-2014 [eluser]InsiteFX[/eluser] Look at the spelling of your Constructor! Problem loading library - El Forum - 03-01-2014 [eluser]Unknown[/eluser] thank you very much |