Cloudlog/application/controllers/User_Logbooks.php

22 wiersze
510 B
PHP

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Logbooks extends CI_Controller {
/* Controls ADIF Import/Export Functions */
function __construct()
{
parent::__construct();
$this->load->helper(array('form', 'url'));
$this->load->model('user_model');
if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
}
public function index()
{
echo 'Functions to come';
}
}