summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2009-05-26 15:21:12 +0200
committerHugues Hiegel <hugues@hiegel.fr>2009-05-26 15:21:12 +0200
commitb556dab8f3943cd9d015f0626c54d501afba446d (patch)
treefdb33fab4ae669591af2c6525331460502e4793a
parentc86ca9d816e66636ce729a373442cf292bf43cec (diff)
[Cache] don't cache gugusse
-rw-r--r--Badges.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Badges.php b/Badges.php
index 3aaa03e..baf9ba3 100644
--- a/Badges.php
+++ b/Badges.php
@@ -56,8 +56,6 @@ OR ($data["lastupdate"] AND $data["lastupdate"]+CACHE < time()))
/*output image cache*/
$Cache=CACHE_FOLDER."/Pictures/".strtolower(rawurlencode($username))."_$type-$style-$color.png";
-//if (strtolower($username)=="gugusse")
- //$Cache="";
clearstatcache();
@@ -92,7 +90,8 @@ else
if ( !is_file($Cache)
OR (filemtime($Cache) < $data['lastupdate'])
- OR !filesize($Cache))
+ OR !filesize($Cache)
+ OR $username == "gugusse")
{
$duration = $_SERVER['REQUEST_TIME'] - $statsstart;