turn on output buffering

git-svn-id: file:///home/shish/svn/shimmie2/trunk@912 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-07-21 11:04:05 +00:00
parent 9b515faf34
commit 3061cb3f23

View File

@ -448,6 +448,8 @@ function sanitise_environment() {
assert_options(ASSERT_BAIL, 1); assert_options(ASSERT_BAIL, 1);
} }
ob_start();
if(get_magic_quotes_gpc()) { if(get_magic_quotes_gpc()) {
$_GET = stripslashes_r($_GET); $_GET = stripslashes_r($_GET);
$_POST = stripslashes_r($_POST); $_POST = stripslashes_r($_POST);