mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-29 09:59:28 +00:00
Added a log debug to the constructor of controller APIv1_Controller to
undestand what is the called restful web service
This commit is contained in:
@@ -2,13 +2,15 @@
|
||||
|
||||
require_once APPPATH . '/libraries/REST_Controller.php';
|
||||
|
||||
class APIv1_Controller extends REST_Controller
|
||||
class APIv1_Controller extends REST_Controller
|
||||
{
|
||||
function __construct()
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Loads return messages
|
||||
$this->load->helper('message');
|
||||
|
||||
log_message('debug', 'Called API: '.$_SERVER['PHP_SELF']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user