mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -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/:num'] = 'iphone';
|
||||||
$route['iphone/view/:any'] = 'iphone/view';
|
$route['iphone/view/:any'] = 'iphone/view';
|
||||||
|
|
||||||
$route['404_override'] = 'errors/error_404';
|
$route['404_override'] = 'main/error_404';
|
||||||
|
|
||||||
/* End of file routes.php */
|
/* End of file routes.php */
|
||||||
/* Location: ./application/config/routes.php */
|
/* Location: ./application/config/routes.php */
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
* - about()
|
* - about()
|
||||||
* - _valid_lang()
|
* - _valid_lang()
|
||||||
* - get_cm_js()
|
* - get_cm_js()
|
||||||
|
* - error_404()
|
||||||
* Classes list:
|
* Classes list:
|
||||||
* - Main extends CI_Controller
|
* - Main extends CI_Controller
|
||||||
*/
|
*/
|
||||||
@ -502,4 +503,9 @@ class Main extends CI_Controller
|
|||||||
}
|
}
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function error_404()
|
||||||
|
{
|
||||||
|
show_404();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user