This commit is contained in:
Claude 2012-05-06 22:14:08 +02:00
parent 497cdc3c40
commit 6fdda90d05
2 changed files with 7 additions and 1 deletions

View File

@ -57,7 +57,7 @@ $route['about'] = 'main/about';
$route['iphone/:num'] = 'iphone';
$route['iphone/view/:any'] = 'iphone/view';
$route['404_override'] = 'errors/error_404';
$route['404_override'] = 'main/error_404';
/* End of file routes.php */
/* Location: ./application/config/routes.php */

View File

@ -17,6 +17,7 @@
* - about()
* - _valid_lang()
* - get_cm_js()
* - error_404()
* Classes list:
* - Main extends CI_Controller
*/
@ -502,4 +503,9 @@ class Main extends CI_Controller
}
exit;
}
function error_404()
{
show_404();
}
}