diff --git a/application/controllers/api/frontend/v1/Cms.php b/application/controllers/api/frontend/v1/Cms.php index 5ba635a8a..afebe3995 100644 --- a/application/controllers/api/frontend/v1/Cms.php +++ b/application/controllers/api/frontend/v1/Cms.php @@ -49,6 +49,11 @@ class Cms extends FHCAPI_Controller $this->load->library('CmsLib'); + // Loads phrases system + $this->loadPhrases([ + 'global' + ]); + } //------------------------------------------------------------------------------------------------------------------ @@ -105,6 +110,7 @@ class Cms extends FHCAPI_Controller //todo: there is the method news and getNews but only one should exist public function news() { + // form validation $this->load->library('form_validation'); $this->form_validation->set_data($_GET);