From c1e9a742ab8567fc7026a39ea95ae3e95400faf8 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Thu, 19 Oct 2017 14:04:41 +0100 Subject: new features --- src/fextdata.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fextdata.php') diff --git a/src/fextdata.php b/src/fextdata.php index 3eae683..468c2d3 100644 --- a/src/fextdata.php +++ b/src/fextdata.php @@ -212,7 +212,7 @@ function scoretransfer($putname, $localsite, $timeo=5) { } -function getMainXML($contest,$timeo=5) { +function getMainXML($contest,$timeo=5,$upd=false) { $ds = DIRECTORY_SEPARATOR; if($ds=="") $ds = "/"; @@ -252,7 +252,7 @@ function getMainXML($contest,$timeo=5) { LOGError("getMainXML: invalid mainsiteurl entry"); return false; } - if(count($sitedata) == 3) { + if(count($sitedata) == 3 || $upd) { $updatetime=0; } else $updatetime=trim($sitedata[3]); -- cgit v1.2.3