piler/webui/controller/audit/audit.php

27 lines
437 B
PHP
Raw Normal View History

2012-02-08 23:14:28 +01:00
<?php
class ControllerAuditAudit extends Controller {
public function index(){
$this->id = "content";
$this->template = "audit/audit.tpl";
2013-02-11 20:24:19 +01:00
$this->layout = "common/layout-audit";
2012-02-08 23:14:28 +01:00
$request = Registry::get('request');
$db = Registry::get('db');
$this->load->model('audit/audit');
if(Registry::get('admin_user') == 0) {
die("go away");
}
2012-02-08 23:14:28 +01:00
$this->render();
}
}
?>