Subversion Repositories SmartDukaan

Rev

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

Rev 11188 Rev 11189
Line 10... Line 10...
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
        $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');
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)){
14
        if(!in_array($method, $notRequired)){
15
            echo $method;
-
 
16
            $url =  $this->CI->config->item('curl_base_url').'tracking';    
15
            $url =  $this->CI->config->item('curl_base_url').'tracking';    
17
            $params = array();  
16
            $params = array();  
18
            if (isset($_SERVER['HTTP_REFERER'])){
17
            if (isset($_SERVER['HTTP_REFERER'])){
19
                $params['referer'] = $_SERVER['HTTP_REFERER'];
18
                $params['referer'] = $_SERVER['HTTP_REFERER'];
20
            }else{
19
            }else{