Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel authored and daniel committed Oct 21, 2018
1 parent 47aaa60 commit 45d66df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function getStart() {
}
// if is a bot always show a cache
if (file_exists($cachefile) && (((time() - $lifetime) <= filemtime($cachefile))) || isBot()) {
$c = @url_get_contents($cachefile);
$c = @local_get_contents($cachefile);
echo $c;
if ($obj->logPageLoadTime) {
$this->end("Cache");
Expand Down

0 comments on commit 45d66df

Please sign in to comment.