Skip to content

Commit

Permalink
Merge pull request #5 from lukesnowden/pr/4
Browse files Browse the repository at this point in the history
Pr/4
  • Loading branch information
Luke Snowden authored Nov 21, 2016
2 parents 26b7934 + bdc904b commit 9c54caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LukeSnowden/GoogleShoppingFeed/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public function categories()
{
$cache = new Cache;
$cache->setCacheDirectory($this->cacheDir);
$data = $cache->getOrCreate('google-feed-taxonomy.txt', array( 'max-age' => '860400' ), function () {
$data = $cache->getOrCreate('google-feed-taxonomy.txt', array( 'max-age' => '86400' ), function () {
return file_get_contents("http://www.google.com/basepages/producttype/taxonomy.en-GB.txt");
});
return explode("\n", trim($data));
Expand Down

0 comments on commit 9c54caf

Please sign in to comment.