Welcome Guest, Not a member yet? Register   Sign In
Exiting the application - simple issue
#1

[eluser]EEssam[/eluser]
Hello,

I need to check for something in my Controller constructor and if the condition is met, I need display a view and exit the application.

if (1 == 1)
{
$this->load->view('closed', $this->data);
exit;
}

The code above is showing a blank page.

Please help.


Messages In This Thread
Exiting the application - simple issue - by El Forum - 06-20-2008, 11:00 AM
Exiting the application - simple issue - by El Forum - 06-20-2008, 11:38 AM
Exiting the application - simple issue - by El Forum - 06-20-2008, 11:44 AM
Exiting the application - simple issue - by El Forum - 06-20-2008, 11:59 AM
Exiting the application - simple issue - by El Forum - 06-20-2008, 12:07 PM
Exiting the application - simple issue - by El Forum - 06-20-2008, 12:24 PM
Exiting the application - simple issue - by El Forum - 06-20-2008, 12:35 PM
Exiting the application - simple issue - by El Forum - 06-20-2008, 12:42 PM
Exiting the application - simple issue - by El Forum - 06-20-2008, 01:09 PM
Exiting the application - simple issue - by El Forum - 06-20-2008, 01:43 PM
Exiting the application - simple issue - by El Forum - 06-20-2008, 06:52 PM
Exiting the application - simple issue - by El Forum - 06-21-2008, 03:33 AM
Exiting the application - simple issue - by El Forum - 06-21-2008, 08:13 AM
Exiting the application - simple issue - by El Forum - 06-21-2008, 10:11 AM
Exiting the application - simple issue - by El Forum - 06-21-2008, 11:02 AM
Exiting the application - simple issue - by El Forum - 06-22-2008, 06:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB