CodeIgniter Forums
Command Line: IS_CLI - 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: Command Line: IS_CLI (/showthread.php?tid=42303)

Pages: 1 2


Command Line: IS_CLI - El Forum - 10-10-2012

[eluser]CroNiX[/eluser]
Also, it should be

Code:
public function __construct()
{
  parent::__construct(); //you're missing the two __
}



Command Line: IS_CLI - El Forum - 10-10-2012

[eluser]Tiến Thành[/eluser]
Thank CroNix so much.


Command Line: IS_CLI - El Forum - 10-10-2012

[eluser]Tiến Thành[/eluser]
[quote author="CroNiX" date="1349932649"]Also, it should be

Code:
public function __construct()
{
  parent::__construct(); //you're missing the two __
}
[/quote]

Yes, i've tested controllers with the same code, but it's not working.