diff --git a/etemplate/inc/class.soetemplate.inc.php b/etemplate/inc/class.soetemplate.inc.php index 7a334f4b35..210f4e9ab7 100644 --- a/etemplate/inc/class.soetemplate.inc.php +++ b/etemplate/inc/class.soetemplate.inc.php @@ -876,8 +876,8 @@ class soetemplate if (!is_writeable($dir)) { // if dir is not writable, download file - html::content_header('etemplates.inc.php','application/octet-stream'); - $file = 'php://stdout'; + html::content_header('etemplates.inc.php'); + $file = 'php://output'; } else {