From eff4faea7f3c95440f02ea45d0be4f67236e2bf3 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 3 Nov 2010 22:13:10 +0000 Subject: Fixes #1320: Bundled mods use elgg_echo()'s internal string substitution. git-svn-id: http://code.elgg.org/elgg/trunk@7229 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/diagnostics/actions/download.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mod/diagnostics/actions') diff --git a/mod/diagnostics/actions/download.php b/mod/diagnostics/actions/download.php index 32ef5cbed..d429f2592 100644 --- a/mod/diagnostics/actions/download.php +++ b/mod/diagnostics/actions/download.php @@ -1,15 +1,15 @@ name); + + $output = elgg_echo('diagnostics:header', array(date('r'), get_loggedin_user()->name)); $output = trigger_plugin_hook('diagnostics:report', 'system', null, $output); - + header("Cache-Control: public"); header("Content-Description: File Transfer"); header('Content-disposition: attachment; filename=elggdiagnostic.txt'); -- cgit v1.2.3