I’m trying to figure out why its showing the variable as a bool and not an integer like it should be.
The kow_auth config file is autoloaded.
library:
echo "<pre>";
echo "max_attempts:";
var_dump($this->ci->config->item('login_max_attempts', 'kow_auth'));
echo "</pre>";
kow_auth config file
http://pastebin.com/9KMEn4Uf
The problem is that you are passing the second parameter:
kow_authIt is trying to retrieve
login_max_attemptsfrom a array calledkow_authand that doesn’t exist on your config file.You can create configurations like this:
This way it should work with your second parameter.
Docs: http://codeigniter.com/user_guide/libraries/config.html