This commit is contained in:
Mike Jolley 2011-11-30 13:34:27 +00:00
parent 6dc4d2add8
commit 2efd580f50
1 changed files with 6 additions and 0 deletions

View File

@ -168,8 +168,14 @@ class woocommerce {
* @return location
*/
function redirect( $location, $status ) {
global $is_IIS;
// IIS fix
if ($is_IIS) session_write_close();
$_SESSION['errors'] = $this->errors;
$_SESSION['messages'] = $this->messages;
return $location;
}