cvs: php-gcov-web(SOC06) /cron cron.php

From: Date: Sun, 10 Sep 2006 15:59:30 +0000
Subject: cvs: php-gcov-web(SOC06) /cron cron.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32444@lists.php.net to get a copy of this message
nlopess Sun Sep 10 15:59:30 2006 UTC Modified files: (Branch: SOC06) /php-gcov-web/cron cron.php Log: avoid running out of disk space with older reports http://cvs.php.net/viewvc.cgi/php-gcov-web/cron/cron.php?r1=1.1.2.9&r2=1.1.2.10&diff_format=u Index: php-gcov-web/cron/cron.php diff -u php-gcov-web/cron/cron.php:1.1.2.9 php-gcov-web/cron/cron.php:1.1.2.10 --- php-gcov-web/cron/cron.php:1.1.2.9 Sun Sep 10 15:28:52 2006 +++ php-gcov-web/cron/cron.php Sun Sep 10 15:59:30 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cron.php,v 1.1.2.9 2006/09/10 15:28:52 nlopess Exp $ */ +/* $Id: cron.php,v 1.1.2.10 2006/09/10 15:59:30 nlopess Exp $ */ if ($argc != 7) @@ -61,6 +61,9 @@ // Set up variables that apply to all scripts $version = basename($phpdir, __FILE__); // todo: make this dynamic or based on the tags instead +// avoid filling the disk +system("rm -f $outdir/*.inc"); + // Load main configuration including database connection require $workdir.'/config.php';

« previous php.mirrors (#32444) next »