[eluser]Unknown[/eluser]
Hi everyone,
I have this function in one of my controllers:
Code:
public function notAuthorized(){
$this->load->view('base/notAuthorized');
redirect('base/index','refresh:5');
}
The redirect works and pauses but won't show the view for those 5 seconds... I would like to see the loaded view and then redirect. I've also tried reversing the order.
This is what the view contains (a stupid page at the mo):
Code:
<html>
<head></head>
<body>
<?php
echo "Not Authorized";
?>
</body>
</html>