Cloudlog/application/controllers/Export.php
Warren Volz e384826aea Codeignitor 3.1.6 and corresponding changes
- fixes missing () from num_rows in authenticate user function
- removes passwordhash library in favor of built in PHP password_hash
  and password_verify functions
- uppercase all class filenames
- add new CLI error templates, move HTML error templates
- update mimes file to latest version
- update routes to latest version
2017-12-01 19:25:26 +00:00

21 行
无行尾
575 B
PHP

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Export extends CI_Controller {
public function index()
{
$this->load->model('user_model');
if(!$this->user_model->authorize(99)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
$data['page_title'] = "Data Export";
$this->load->view('layout/header', $data);
$this->load->view('export/index');
$this->load->view('layout/footer');
}
}
/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */