Revision: 18971
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18971
Author: maat
Date: 2008-10-25 18:20:11 +0000 (Sat, 25 Oct 2008)
Log Message:
-----------
fix : check if sessionid is empty to prevent phpgw from trying to remove the
whole temp dir at logout
Modified Paths:
--------------
core/trunk/logout.php
Modified: core/trunk/logout.php
===================================================================
--- core/trunk/logout.php 2008-10-25 18:13:31 UTC (rev 18970)
+++ core/trunk/logout.php 2008-10-25 18:20:11 UTC (rev 18971)
@@ -31,7 +31,7 @@
$verified = $GLOBALS['phpgw']->session->verify();
if ($verified)
{
- if (
is_dir("{$GLOBALS['phpgw_info']['server']['temp_dir']}/{$sessionid}") )
+ if ( !empty($session_id) &&
is_dir("{$GLOBALS['phpgw_info']['server']['temp_dir']}/{$sessionid}") )
{
$dh =
dir("{$GLOBALS['phpgw_info']['server']['temp_dir']}/{$sessionid}");
while ( ($file = $dh->read()) !== false )
_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs