Fixed backup features

pull/576/head
Peter Goodhall 2020-08-10 23:26:02 +01:00
rodzic 65ec84a982
commit 03b25d00d5
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -4,14 +4,13 @@ class Backup extends CI_Controller {
function __construct()
{
parent::__construct();
$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'); }
}
/* User Facing Links to Backup URLs */
public function index()
{
$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'); }
$data['page_title'] = "Backup";