X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=admin_options.php;h=6f8125589a6ccdb47be1e17289b78295bea877a5;hb=c138ab042a599beb780895e5a5f54a1b287d67ae;hp=ae901d6d3a6439e45957e5e3fb4faea4bddaaa77;hpb=785d404c84c153bda7d45d3aedfefa81985703b3;p=timetracker.git diff --git a/admin_options.php b/admin_options.php index ae901d6d..6f812558 100644 --- a/admin_options.php +++ b/admin_options.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttUserHelper'); // Access check. -if (!ttAccessCheck(right_administer_site)) { +if (!ttAccessAllowed('administer_site')) { header('Location: access_denied.php'); exit(); }