| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function del($name, $path = null, $domain = null, $secure = true, $httponly = true) |
||
| 30 | { |
||
| 31 | if ($this->set($name, '', time() - 3600, $path, $domain, $secure, $httponly)) { |
||
| 32 | if (isset($_COOKIE[$name])) { |
||
| 33 | unset($_COOKIE[$name]); |
||
| 34 | } |
||
| 35 | |||
| 36 | return true; |
||
| 37 | } |
||
| 38 | |||
| 39 | return false; |
||
| 40 | } |
||
| 41 | |||
| 62 |