Subversion Repositories SmartDukaan

Rev

Rev 11103 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

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


Class MY_Controller extends CI_Controller {

        function __construct() {
                // Call the CI_controller constructor
                parent::__construct();


                //load everything needed
                /*$currentclient =$this -> config -> item('current_client');
                if(!isset($currentclient))
                {$currentclient = $this -> session -> userdata('current_client');}*/

        $currentclient = $this -> config -> item('current_client');
        
                $this -> load -> config($currentclient);
                
        }





}