[Notes][Translate] Added Code to support translating UI to other langs

This commit is contained in:
Peter Goodhall
2021-01-11 15:22:48 +00:00
parent fba3a16ecc
commit f507acde67
6 changed files with 56 additions and 30 deletions

View File

@@ -8,6 +8,9 @@ class Notes extends CI_Controller {
$this->load->model('user_model');
if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
// Load language files
$this->lang->load('notes');
}