Hey,
I solved my problem (or problems).
first (in my case), my hook had to be in'post_controller' and not in'pre_controller'.
Then, I miscalled my config items in the case of a hook:
$this->ci->config->item('access')' (here the right way)
I put underneath a part of my hook
''
class Maintenance {
private $ci;
public function __construct()
{
$this->ci =& get_instance();
$this->ci->options_params = $this->ci->m_options->get_options();
}
public function go_maint()
{
''