From 9fc06ff6e4af5ca8e8e4ac34a53846de2a9f6cee Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Wed, 6 Jan 2010 20:06:16 +0000 Subject: [PATCH] - Fixing file upload/download troubles: make sure that magic_quotes_gpc is turned off and that the output is not truncated by AjaxWebPage. SVN:trunk[229] --- application/ajaxwebpage.class.inc.php | 2 +- setup/index.php | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/application/ajaxwebpage.class.inc.php b/application/ajaxwebpage.class.inc.php index 3d061f69a..fbacc0058 100644 --- a/application/ajaxwebpage.class.inc.php +++ b/application/ajaxwebpage.class.inc.php @@ -42,7 +42,7 @@ class ajax_page extends web_page } $s_captured_output = ob_get_contents(); ob_end_clean(); - echo trim($this->s_content); + echo $this->s_content; if (!empty($this->m_sReadyScript)) { echo "