- Changed helper and language autoload

- Changed language config
- Removed never used constants
- Changed rest_language in rest config file
- Adapted models that where extending FHC_Model
- Adapted code to load hlp_return_object
- Adapted code to use exit status codes constants
This commit is contained in:
Paolo
2019-04-25 12:09:31 +02:00
parent 1fe9a95236
commit 699aca74d1
18 changed files with 97 additions and 144 deletions
@@ -13,7 +13,7 @@ class CheckUserAuth extends REST_Controller
// Loads helper message to manage returning messages
// NOTE: loaded here because it does not extend the APIv1_Controller
$this->load->helper('hlp_message');
$this->load->helper('hlp_return_object');
}
/**
+1 -3
View File
@@ -2,8 +2,6 @@
if (! defined('BASEPATH')) exit('No direct script access allowed');
require_once APPPATH.'/libraries/REST_Controller.php';
/**
* Testing class for REST calls and authentication
*/
@@ -14,7 +12,7 @@ class Test extends REST_Controller
parent::__construct();
// Loads helper message to manage returning messages
$this->load->helper('hlp_message');
$this->load->helper('hlp_return_object');
}
/**