Subversion Repositories SmartDukaan

Rev

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

Rev 11387 Rev 11510
Line 146... Line 146...
146
				$error = curl_error($this->calls[$key]["curl"]);
146
				$error = curl_error($this->calls[$key]["curl"]);
147
				if (!empty($error))
147
				if (!empty($error))
148
				{
148
				{
149
					if($key != 'tracking' && $key != 'recommended_accessories'){
149
					if($key != 'tracking' && $key != 'recommended_accessories'){
150
					$this->calls[$key]["error"] = $error;
150
					$this->calls[$key]["error"] = $error;
-
 
151
					$url = 'http://www.saholic.com/'.uri_string();
151
					$this->_ci->session->set_userdata('errorurl',$url);
152
					$this->_ci->session->set_userdata('errorurl',$url);
152
					//$errmsg ='<h3>OH SNAP!!!! :</h3><p>Something is not right. <br/><h1>But Relax</h1> <br/>We are working hard on it. </p>';
153
					//$errmsg ='<h3>OH SNAP!!!! :</h3><p>Something is not right. <br/><h1>But Relax</h1> <br/>We are working hard on it. </p>';
153
					$msg = '
154
					$msg = '
154
					API for '.$key.' is not working.
155
					API for '.$key.' is not working.
155
					
156