Files
FHC-Core/application/core/APIv1_Controller.php
T
Paolo 085fed5284 Added a log debug to the constructor of controller APIv1_Controller to
undestand what is the called restful web service
2017-06-13 12:00:24 +02:00

16 lines
325 B
PHP

<?php
require_once APPPATH . '/libraries/REST_Controller.php';
class APIv1_Controller extends REST_Controller
{
function __construct()
{
parent::__construct();
// Loads return messages
$this->load->helper('message');
log_message('debug', 'Called API: '.$_SERVER['PHP_SELF']);
}
}