Commit 40a5d5a7 authored by AlexKirienko's avatar AlexKirienko Committed by RenatoG

Issue #2546646 by AlexKirienko, dpovshed, RenatoG: Warning: Cannot modify...

Issue #2546646 by AlexKirienko, dpovshed, RenatoG: Warning: Cannot modify header information - headers already sent
parent 171018fb
......@@ -119,6 +119,8 @@ function xmlsitemap_file_transfer($uri, $headers) {
print fread($fd, 1024 * 16);
}
fclose($fd);
// Disable session manipulation if PHP transfered a file.
drupal_save_session(FALSE);
}
else {
drupal_not_found();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment