diff --git a/application/core/APIv1_Controller.php b/application/core/APIv1_Controller.php index 26fbeddac..0f91b5918 100644 --- a/application/core/APIv1_Controller.php +++ b/application/core/APIv1_Controller.php @@ -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']); } } \ No newline at end of file