X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=topdf.php;h=475522ef9ca87cb6dbe121929f48cabf3d583268;hb=b462dba60a4686a99189cb9a6329c2cc99f5f7ac;hp=3177d155973b8e67c6c7845858e97c3948a3fb96;hpb=a8a4278a6a87c600835890a10c774dfdc58e930a;p=timetracker.git 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/'))