Ejemplo n.º 1
0
 /**
  * Deletes a cookie on the client
  * 
  * @param $key string the cookie key to delete
  * 
  * @return bool
  */
 public function deleteCookie($key, $base_path = null, $domain = null)
 {
     $domain = $domain !== null ? $domain : '.' . Caspar::getDefaultCookieDomain();
     $this->setCookie($key, '', NOW - 36000, $base_path, $domain);
     return true;
 }