diff --git a/logout.php b/logout.php index d6801e1a71..716723f864 100755 --- a/logout.php +++ b/logout.php @@ -38,6 +38,7 @@ unlink($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid'] . SEP . $file); } } + closedir($dh); rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']); } $GLOBALS['phpgw']->hooks->process('logout');