Commit 646acfe5 by Phạm Văn Đoan

xóa bỏ file ngôn ngữ thừa

parent 318c2a1a
...@@ -5,9 +5,7 @@ class Admin extends CI_Controller ...@@ -5,9 +5,7 @@ class Admin extends CI_Controller
{ {
public function __construct() public function __construct()
{ {
parent::__construct(); parent::__construct();
$this->lang->load('screen');
$this->load->database(); $this->load->database();
$this->load->library('session'); $this->load->library('session');
...@@ -17,8 +15,6 @@ class Admin extends CI_Controller ...@@ -17,8 +15,6 @@ class Admin extends CI_Controller
if (!$this->session->userdata('cart_items')) { if (!$this->session->userdata('cart_items')) {
$this->session->set_userdata('cart_items', array()); $this->session->set_userdata('cart_items', array());
} }
error_log('academy-lms: ' . $this->lang->line('language_deleted_successfully'));
} }
public function index() public function index()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment