the condition should be $config['load_search'] && $auth->acl_get('u_search') as stated by bantu.