Added basis for multi logbook

pull/355/head
Peter Goodhall 2019-09-22 21:41:23 +01:00
rodzic 66231b52d2
commit b26b525c20
2 zmienionych plików z 35 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,19 @@
<?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';
}

Wyświetl plik

@ -0,0 +1,16 @@
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
This controller will contain features for managing incoming QSL cards
*/
class User_Logbooks extends CI_Controller {
public function index()
{
echo 'Functions to come';
}
}