Subversion Repositories SmartDukaan

Rev

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

Rev 11170 Rev 11226
Line 156... Line 156...
156
					}
156
					}
157
				}
157
				}
158
				$this->calls[$key]["response"] = curl_multi_getcontent($this->calls[$key]["curl"]);
158
				$this->calls[$key]["response"] = curl_multi_getcontent($this->calls[$key]["curl"]);
159
				//print_r($this->calls[$key]["response"]);
159
				//print_r($this->calls[$key]["response"]);
160
				$http_status = curl_getinfo($this->calls[$key]["curl"], CURLINFO_HTTP_CODE);
160
				$http_status = curl_getinfo($this->calls[$key]["curl"], CURLINFO_HTTP_CODE);
161
				if($key != 'tracking'){
161
				if($key != 'tracking' && $key != 'recommended_accessories'){
162
					if($http_status != 200) {
162
					if($http_status != 200) {
163
        				redirect(base_url().'error_page/index');
163
        				redirect(base_url().'error_page/index');
164
        				exit();
164
        				exit();
165
					}
165
					}
166
				}
166
				}