Ejemplo n.º 1
0
 private function set_cookie_crypt()
 {
     $crypt_type = $this->get_config()->cookie->crypt->type;
     if ($crypt_type) {
         http_cookie::set_crypt(crypt::get($crypt_type));
     }
 }
Ejemplo n.º 2
0
 public static function set_crypt($crypt_obj = null)
 {
     if (is_object($crypt_obj) && $crypt_obj instanceof crypt) {
         self::$crypt = $crypt_obj;
     }
 }