diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2009-05-26 15:21:12 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2009-05-26 15:21:12 +0200 |
commit | b556dab8f3943cd9d015f0626c54d501afba446d (patch) | |
tree | fdb33fab4ae669591af2c6525331460502e4793a | |
parent | c86ca9d816e66636ce729a373442cf292bf43cec (diff) |
[Cache] don't cache gugusse
-rw-r--r-- | Badges.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; |