From b556dab8f3943cd9d015f0626c54d501afba446d Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 26 May 2009 15:21:12 +0200 Subject: [Cache] don't cache gugusse --- Badges.php | 5 ++--- 1 file 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; -- cgit v1.2.3