mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
accounting fixes + restrict it to admin user only
This commit is contained in:
@ -14,6 +14,9 @@ class ControllerAuditAudit extends Controller {
|
||||
|
||||
$this->load->model('audit/audit');
|
||||
|
||||
if(Registry::get('admin_user') == 0) {
|
||||
die("go away");
|
||||
}
|
||||
|
||||
$this->render();
|
||||
}
|
||||
|
Reference in New Issue
Block a user