| @@ 307-313 (lines=7) @@ | ||
| 304 | { |
|
| 305 | if ($this->close() === $this->_success) |
|
| 306 | { |
|
| 307 | if (file_exists($this->_file_path.$session_id)) |
|
| 308 | { |
|
| 309 | $this->_cookie_destroy(); |
|
| 310 | return unlink($this->_file_path.$session_id) |
|
| 311 | ? $this->_success |
|
| 312 | : $this->_failure; |
|
| 313 | } |
|
| 314 | ||
| 315 | return $this->_success; |
|
| 316 | } |
|
| @@ 320-326 (lines=7) @@ | ||
| 317 | elseif ($this->_file_path !== NULL) |
|
| 318 | { |
|
| 319 | clearstatcache(); |
|
| 320 | if (file_exists($this->_file_path.$session_id)) |
|
| 321 | { |
|
| 322 | $this->_cookie_destroy(); |
|
| 323 | return unlink($this->_file_path.$session_id) |
|
| 324 | ? $this->_success |
|
| 325 | : $this->_failure; |
|
| 326 | } |
|
| 327 | ||
| 328 | return $this->_success; |
|
| 329 | } |
|