accounting fixes + restrict it to admin user only

This commit is contained in:
SJ
2013-03-12 10:26:21 +01:00
parent 7a096bceb7
commit 625087b082
4 changed files with 47 additions and 11 deletions

View File

@ -14,6 +14,9 @@ class ControllerAuditAudit extends Controller {
$this->load->model('audit/audit');
if(Registry::get('admin_user') == 0) {
die("go away");
}
$this->render();
}