private function set_cookie_crypt() { $crypt_type = $this->get_config()->cookie->crypt->type; if ($crypt_type) { http_cookie::set_crypt(crypt::get($crypt_type)); } }