X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/89d113bd3f5ab38ee7ecd7166ce420cad0634fa3..bea65bba9873151a4d31f944d90d9b93c72727b0:/export.php diff --git a/export.php b/export.php index 2b52acae..cf3bccfa 100644 --- a/export.php +++ b/export.php @@ -57,11 +57,11 @@ if ($request->isPost()) { $mime_type = 'application/x-bzip2'; } - //if (defined('SUBGROUP_DEBUG') && isTrue(SUBGROUP_DEBUG)) { + if (defined('SUBGROUP_DEBUG') && isTrue(SUBGROUP_DEBUG)) { $exportHelper = new ttOrgExportHelper(); - //} else { - // $exportHelper = new ttExportHelper(); - //} + } else { + $exportHelper = new ttExportHelper(); + } if ($exportHelper->createDataFile($compress)) { header('Pragma: public'); // This is needed for IE8 to download files over https. header('Content-Type: '.$mime_type);