aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-03-11 19:11:25 +0100
committerMichael Vogel <icarus@dabo.de>2012-03-11 19:11:25 +0100
commit9f76d96d46356b18325ca49c383f94a1958fefd3 (patch)
treee85ad36d8b515a14f440ab09f62b537b863347ef /include/text.php
parentb879a1ddf1575a3bd355edcee634be4a8d179c25 (diff)
downloadvolse-hubzilla-9f76d96d46356b18325ca49c383f94a1958fefd3.tar.gz
volse-hubzilla-9f76d96d46356b18325ca49c383f94a1958fefd3.tar.bz2
volse-hubzilla-9f76d96d46356b18325ca49c383f94a1958fefd3.zip
Cache: item cache now has an autodelete of old files. The pages plugin now sets a link via redirection. So posting works.
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 5bf815105..08c5a5424 100644
--- a/include/text.php
+++ b/include/text.php
@@ -879,7 +879,7 @@ function prepare_body($item,$attach = false) {
$cache = get_config('system','itemcache');
if (($cache != '')) {
- $cachefile = $cache."/".$item["guid"]."-".strtotime($item["edited"])."-".$attach."-".hash("crc32", $item['body']);
+ $cachefile = $cache."/".$item["guid"]."-".strtotime($item["edited"])."-".hash("crc32", $item['body']);
if (file_exists($cachefile))
$s = file_get_contents($cachefile);