protected removeSessionFile ( string $pathname ) : boolean | ||
$pathname | string | The path of the file to remove |
return | boolean | TRUE if the file has successfully been removed, else FALSE |
protected function removeSessionFile($pathname)
{
if (file_exists($pathname)) {
return unlink($pathname);
}
return false;
}