X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b20bc88bdf10d0599435f36bc8acd01b7a35c23c..89d113bd3f5ab38ee7ecd7166ce420cad0634fa3:/export.php diff --git a/export.php b/export.php index 5f7bd02d..2b52acae 100644 --- a/export.php +++ b/export.php @@ -28,6 +28,7 @@ require_once('initialize.php'); import('ttExportHelper'); +import('ttOrgExportHelper'); import('form.Form'); // Access check. @@ -56,7 +57,11 @@ if ($request->isPost()) { $mime_type = 'application/x-bzip2'; } - $exportHelper = new ttExportHelper(); + //if (defined('SUBGROUP_DEBUG') && isTrue(SUBGROUP_DEBUG)) { + $exportHelper = new ttOrgExportHelper(); + //} 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);