Skip to content

Commit

Permalink
In stop_and_exit(), ob_end_clean() only if request is HEAD [#24 state…
Browse files Browse the repository at this point in the history
…:resolved]
  • Loading branch information
Fabrice Luraine committed Aug 12, 2009
1 parent 068368e commit 85e8af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/limonade.php
Expand Up @@ -424,7 +424,7 @@ function stop_and_exit($exit = true)
}
if($flash_sweep) flash_sweep();
if(defined('SID')) session_write_close();
ob_end_clean(); // when request_is_head()
if(request_is_head()) ob_end_clean();
if($exit) exit;
}

Expand Down

0 comments on commit 85e8af3

Please sign in to comment.