From b2a932b1258cab8523504b10e7f382534ff8dff4 Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 29 Dec 2022 00:06:23 +0100 Subject: [PATCH] Load eqsl and lotw lang to fix log warnings and display errors in check log --- application/controllers/Oqrs.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/controllers/Oqrs.php b/application/controllers/Oqrs.php index a021d763..46fde176 100644 --- a/application/controllers/Oqrs.php +++ b/application/controllers/Oqrs.php @@ -9,6 +9,8 @@ class Oqrs extends CI_Controller { function __construct() { parent::__construct(); + $this->lang->load('lotw'); + $this->lang->load('eqsl'); // Commented out to get public access // $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'); }