Added path based redirection

This commit is contained in:
Deon George
2011-09-13 16:58:59 +10:00
parent 88b915fd58
commit 46b2248c37
2 changed files with 14 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ class HTTP_Exception_404 extends Kohana_HTTP_Exception_404 {
'body'=>sprintf(_('The page [%s] you requested was not found?'),Request::detect_uri()),
));
// Request::factory()->redirect('welcome');
// Redirect based on path info
Request::factory()->redirect('redir/path'.$_SERVER['PATH_INFO']);
}
}