Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (! defined('BASEPATH')) exit('No direct script access');
- class Bruger extends CI_Controller {
- public function __construct()
- {
- parent::__construct();
- $this->load->model('bruger_model');
- $this->load->library('session');
- $this->load->library('ion_auth');
- }
- public function index()
- {
- $this->output->enable_profiler(TRUE);
- $data['topics'] = $this->bruger_model->get_topics();
- $data['title'] = 'Bruger liste';
- $this->load->view('templates/header', $data);
- $this->load->view('brugere/index', $data);
- $this->load->view('templates/footer');
- }
- }
- /* End of file Class_name.php */
- /* Location: ./application/controllers/Class_name.php */
Add Comment
Please, Sign In to add comment