mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 12:31:06 -05:00
Only load the auth_ldap library if authentication is turend on
This commit is contained in:
parent
24b41b5447
commit
dc8b8eaa46
@ -31,7 +31,9 @@ class Main extends CI_Controller
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->model('languages');
|
||||
$this->load->library('auth_ldap');
|
||||
if ($this->config->item('require_auth') ){
|
||||
$this->load->library('auth_ldap');
|
||||
}
|
||||
|
||||
if (!$this->db->table_exists('ci_sessions'))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user