forked from extern/egroupware
fixed bug [ 1001387 ] Error Emailing Attachments - missing closedir prefents rmdir on win
This commit is contained in:
parent
3cf3d8617d
commit
d847c0e125
@ -38,6 +38,7 @@
|
|||||||
unlink($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid'] . SEP . $file);
|
unlink($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid'] . SEP . $file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
closedir($dh);
|
||||||
rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']);
|
rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']);
|
||||||
}
|
}
|
||||||
$GLOBALS['phpgw']->hooks->process('logout');
|
$GLOBALS['phpgw']->hooks->process('logout');
|
||||||
|
Loading…
Reference in New Issue
Block a user