Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function init_settings() { |
||
26 | |||
27 | $this->CI->config->set_item('langs', ['russian', 'english']); |
||
28 | |||
29 | $this->CI->load->library('DX_Auth'); |
||
30 | |||
31 | # Load admin model |
||
32 | $this->CI->load->model('cms_admin'); |
||
33 | |||
34 | # Set default admin template |
||
35 | $this->CI->config->set_item('template', 'administrator'); |
||
36 | |||
37 | $this->CI->load->library('form_validation'); |
||
38 | $this->CI->load->library('template'); |
||
39 | $this->CI->load->helper('javascript'); |
||
40 | $this->CI->load->helper('admin'); |
||
41 | $this->CI->load->helper('component'); |
||
42 | } |
||
43 | |||
67 | /* End of lib_admin.php */ |