aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/Poche.class.php')
-rw-r--r--inc/poche/Poche.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 8b24e5cd..b0efe69a 100644
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -602,7 +602,7 @@ class FlattrItem{
602 602
603 private function cacheflattrfile($urltoflattr){ 603 private function cacheflattrfile($urltoflattr){
604 if (!is_dir('cache/flattr')){ 604 if (!is_dir('cache/flattr')){
605 mkdir('./cache/flattr', 0700); 605 mkdir('./cache/flattr', 0777);
606 } 606 }
607 // if a cache flattr file for this url already exists and it's been less than one day than it have been updated, see in /cache 607 // if a cache flattr file for this url already exists and it's been less than one day than it have been updated, see in /cache
608 if ((!file_exists("cache/flattr/".base64_encode($urltoflattr).".cache")) || (time() - filemtime("cache/flattr/".base64_encode($urltoflattr).".cache") > 86400)) 608 if ((!file_exists("cache/flattr/".base64_encode($urltoflattr).".cache")) || (time() - filemtime("cache/flattr/".base64_encode($urltoflattr).".cache") > 86400))