<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Getelements extends CI_Controller {

	function __construct()
	{
		parent::__construct();
		$this->load->library('ion_auth');
		$this->load->helper('url');
			
		$this->data['pageTitle'] = $this->lang->line('sites_page_title');
	
		if(!$this->ion_auth->logged_in()) {
			
			redirect('/login');
		
		}
		
	}

	public function index()
	{
	
		$string = file_get_contents("elements.json");
		
		echo $string;
		
	}
	
}

/* End of file getelements.php */
/* Location: ./application/controllers/getelements.php */