From 639bd9e4775e59aac68a1d10e60b98609a99c301 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Mon, 3 Mar 2008 16:40:14 +0100 Subject: Quiet wget to get rid of LAAAAAARGE logfiles in /var/log/ --- Badges_v2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Badges_v2.php b/Badges_v2.php index f4004a5..425b4d5 100644 --- a/Badges_v2.php +++ b/Badges_v2.php @@ -40,7 +40,7 @@ header("Content-Type: image/png"); if ( ! is_file($Stats) ||(filemtime($Stats) + CACHE < $_SERVER['REQUEST_TIME'])) { - system("wget --no-cache http://ws.audioscrobbler.com/1.0/user/".rawurlencode($username)."/profile.xml -O $Stats.tmp"); + system("wget -q --no-cache http://ws.audioscrobbler.com/1.0/user/".rawurlencode($username)."/profile.xml -O $Stats.tmp"); system("mv $Stats.tmp $Stats"); } -- cgit v1.2.3