diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-16 13:29:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-16 13:29:23 -0300 |
commit | 6eee6f93b6a6255982f261e7edd122a5bc760f32 (patch) | |
tree | f86cc0dfc31f5f8e44bb226bc85d5f958d96d347 | |
parent | ee8d18f0f9dafd2b148a28a2647f62559c76a960 (diff) | |
download | semanticscuttle-6eee6f93b6a6255982f261e7edd122a5bc760f32.tar.gz semanticscuttle-6eee6f93b6a6255982f261e7edd122a5bc760f32.tar.bz2 |
Local cache: test for 404 status code
-rw-r--r-- | data/templates/default/bookmarks.tpl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default/bookmarks.tpl.php b/data/templates/default/bookmarks.tpl.php index 27b27ee..4fa8d8b 100644 --- a/data/templates/default/bookmarks.tpl.php +++ b/data/templates/default/bookmarks.tpl.php @@ -352,7 +352,7 @@ if ($currenttag!= '') { $retcode = curl_getinfo($fp, CURLINFO_HTTP_CODE); - if ($retcode == 200) { + if ($retcode != 404) { $cacheLink = "| <a href=\"$assetLink\">Cache</a>"; } |