Blame | Last modification | View Log | RSS feed
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');class Welcome extends MY_Controller {public $layoutName ='';function __construct() {// Call the CI_controller constructorparent::__construct();}public function index(){//standard array$data = array();$this->load->view('welcome/welcome_message');}public function r($data){if(isset($data) and !empty($data)){$this->session->set_userdata('current_client',$data);}else{$this->session->set_userdata('current_client','prestashop');}redirect(base_url().'home');}}/* End of file welcome.php *//* Location: ./application/controllers/welcome.php */