X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/926b8d63a0be596b0c95cb55f01addae410af50c..11bfec0ff88b649a934556e8b4812d65715c7509:/topdf.php diff --git a/topdf.php b/topdf.php index 3177d155..475522ef 100644 --- a/topdf.php +++ b/topdf.php @@ -35,11 +35,12 @@ import('form.Form'); import('form.ActionForm'); import('ttReportHelper'); -// Access check. +// Access checks. if (!(ttAccessAllowed('view_own_reports') || ttAccessAllowed('view_reports'))) { header('Location: access_denied.php'); exit(); } +// End of access checks. // Check whether TCPDF library is available. if (!file_exists('WEB-INF/lib/tcpdf/'))