...

World Wide Web Server 2012-07-04 16:03:30 -07:00
parent d19a14811f
commit 085305d021

@ -29,7 +29,7 @@ function CiGoogleMapAPI(){
if(ini_get('allow_url_fopen')==true)
{
return file_get_contents($url)
return file_get_contents($url);
}else{
return $this->curlFetchURL($url);
@ -45,7 +45,7 @@ function CiGoogleMapAPI(){
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
// grab URL and pass it to the browser
$content= curl_exec($ch)
$content= curl_exec($ch);
// close curl resource, and free up system resources
curl_close($ch);
@ -86,6 +86,7 @@ function CiGoogleMapAPI(){
);
$this->ci->db->insert($this->_db_cache_table, $data);
return true;
}
}
[/code]