mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 12:31:06 -05:00
404 page
This commit is contained in:
parent
497cdc3c40
commit
6fdda90d05
@ -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 */
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user