Subversion Repositories SmartDukaan

Rev

Rev 11184 | Rev 11189 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11184 Rev 11188
Line 8... Line 8...
8
    public $CI;
8
    public $CI;
9
 
9
 
10
    public function tracking_info() {
10
    public function tracking_info() {
11
        $this->CI = & get_instance();
11
        $this->CI = & get_instance();
12
        $method = $this->CI->router->method;
12
        $method = $this->CI->router->method;
13
        if($method != 'getSearchList' && $method != 'getProductList' && $method != 'getSpecialProductList'){
13
        $notRequired = array('changeCaptcha','getSearchList','getProductList','getSpecialProductList','anonymous','add','delete','update','insure','cartCount','coupon','couponClear','returnProduct','cancelOd','deliveryPb','paymentStat','orderStat','contact','refund','showAddress','modifyAddress','saveAddress','getDeliveryDetails','operator','rechargeAmount','topupSpecial');
-
 
14
        if(!in_array($method, $notRequired)){
-
 
15
            echo $method;
14
            $url =  $this->CI->config->item('curl_base_url').'tracking';    
16
            $url =  $this->CI->config->item('curl_base_url').'tracking';    
15
            $params = array();  
17
            $params = array();  
16
            if (isset($_SERVER['HTTP_REFERER'])){
18
            if (isset($_SERVER['HTTP_REFERER'])){
17
                $params['referer'] = $_SERVER['HTTP_REFERER'];
19
                $params['referer'] = $_SERVER['HTTP_REFERER'];
18
            }else{
20
            }else{