![]() |
*Solved* Odd construct not working - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: *Solved* Odd construct not working (/showthread.php?tid=43136) |
*Solved* Odd construct not working - El Forum - 07-01-2011 [eluser]cpass78[/eluser] For some reason adding a constructor to my controller causes the page to not be rendered but no error messages either. Taking it out it loads just fine, PHP Version 5.3.5-1ubuntu7.2 and core 2.0.2, Any ideas? Code: function __construct() { Thanks *Solved* Odd construct not working - El Forum - 07-01-2011 [eluser]cpass78[/eluser] Doh, was calling my login_model class Login instead of Login_model... ![]() |