[eluser]arume[/eluser]
Maybe putting this in your controller:
Code:
function _remap($method)
{
if (1 == 1)
{
$this->load->view(’closed’, $this->data);
return false;
}
else
{
if (!method_exists($this, $method))
{
show_404();
}
return call_user_func_array(array(&$this, $method), array_slice($this->uri->rsegments, 2));
}
}
Of course, you must change 1 == 1 for your logic.