Skip to content

Commit

Permalink
Fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
bennihtm committed Nov 9, 2023
1 parent f366d64 commit 106b77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function cacheFresh(){
};
};

if(file_get_contents($cacheRef) == $DayOfYear){
if(file_get_contents($cacheRef) == $DayOfYear && file_exists($cachedImage.$fileExtension)){
cacheFresh();
}else{
cacheStale();
Expand Down

0 comments on commit 106b77d

Please sign in to comment.