Skip to content

Commit

Permalink
Added FIXME regarding use of file_get_contents() on URL's to Google
Browse files Browse the repository at this point in the history
maps, as this requires allow_url_fopen to be enabled in PHP, which often
isn't allowed on shared hosts.
  • Loading branch information
cheesegrits committed Aug 17, 2013
1 parent 4fa255d commit b1099e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/com_fabrik/helpers/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,12 @@ public static function cacheRemote($src, $path, $file, $lifeTime = 29)
}
$cacheFile = $folder . $file;

/**
* $$$ @FIXME we may need to find something other than file_get_contents()
* to use for this, as it requires allow_url_fopen to be enabled in PHP, which
* most shared hosts don't allow.
*/

// Check for cached version
if (JFile::exists($cacheFile))
{
Expand Down

0 comments on commit b1099e5

Please sign in to comment.