Subversion Repositories SmartDukaan

Rev

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

Rev 11103 Rev 11104
Line 104... Line 104...
104
				log_message('error', 'Mcurl Class - Provided http method is not supported. Only POST and GET are currently supported.');
104
				log_message('error', 'Mcurl Class - Provided http method is not supported. Only POST and GET are currently supported.');
105
				break;
105
				break;
106
		}
106
		}
107
		curl_setopt($this->calls[$key]["curl"], CURLOPT_RETURNTRANSFER, TRUE);
107
		curl_setopt($this->calls[$key]["curl"], CURLOPT_RETURNTRANSFER, TRUE);
108
		curl_setopt($this->calls[$key]["curl"], CURLOPT_FOLLOWLOCATION, TRUE);
108
		curl_setopt($this->calls[$key]["curl"], CURLOPT_FOLLOWLOCATION, TRUE);
109
		if($key == 'tracking'){
109
		if($key == 'tracking' || $key == "pay-success" || $key = "register"){
110
			$cookiesStringToPass="";
110
			$cookiesStringToPass="";
111
			foreach($_COOKIE as $cookie) {
111
			foreach($_COOKIE as $cookie) {
112
				if ($cookiesStringToPass) {
112
				if ($cookiesStringToPass) {
113
	     			$cookiesStringToPass  .= ';';
113
	     			$cookiesStringToPass  .= ';';
114
	    		}
114
	    		}