This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Appointments extends CI_Controller { | |
public function __construct() { | |
parent::__construct(); | |
$this->load->library('session'); | |
// Set user's selected language. | |
if ($this->session->userdata('language')) { | |
$this->config->set_item('language', $this->session->userdata('language')); | |
$this->lang->load('translations', $this->session->userdata('language')); |