[eluser]gevans[/eluser]
Hey guys,
I'm currently building a large static site. I have a header and footer view for obvious reasons. The main view(s) are going to be stored in sub-folders to mimic the uri. This is being done as following;
Code:
$this->load->view($this->uri->uri_string());
The only issue is that, if someone mistypes or follows a bad uri they get the
"Unable to load the requested file" error.
Is there a way to check a view exsists before attempting to load it?
Cheers,
gevans