* Refactor send404 function and set to uniformed format.
This commit is contained in:
@@ -219,6 +219,17 @@ class baseEntry
|
||||
$this->send($code, $response);
|
||||
}
|
||||
|
||||
/**
|
||||
* Send 404 response.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function send404()
|
||||
{
|
||||
$this->sendError(404, '404 Not found');
|
||||
}
|
||||
|
||||
/**
|
||||
* 加载禅道的控制器类
|
||||
* Load controller of zentaopms
|
||||
|
||||
Reference in New Issue
Block a user