|
|
@ -41,8 +41,7 @@ class Information extends CI_Controller {
|
|
|
|
|
|
|
|
|
|
|
|
$data['detail'] = $this->Information_model->get_detail($url);
|
|
|
|
$data['detail'] = $this->Information_model->get_detail($url);
|
|
|
|
if ($data['detail'] === false) {
|
|
|
|
if ($data['detail'] === false) {
|
|
|
|
// send_404($this);todo,写一个友好的404页面
|
|
|
|
send_404();
|
|
|
|
redirect('/error/page_not_found');
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$data['detail']->ic_content = $this->tags_analysis->analysis($data['detail']);
|
|
|
|
$data['detail']->ic_content = $this->tags_analysis->analysis($data['detail']);
|
|
|
|