From c8994053b1ff9ccf47b532be6567c0f7f33f5f3c Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Fri, 24 Aug 2018 21:08:09 +0200 Subject: fixed typos, back some required files --- src/team/header.php | 2 +- src/team/run.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/team') diff --git a/src/team/header.php b/src/team/header.php index ec7352a..c02166b 100644 --- a/src/team/header.php +++ b/src/team/header.php @@ -60,7 +60,7 @@ $runtmp = $_SESSION["locr"] . $ds . "private" . $ds . "runtmp" . $ds . "run-cont "-site". $_SESSION["usertable"]["usersitenumber"] . "-user" . $_SESSION["usertable"]["usernumber"] . ".php"; $doslow=true; if(file_exists($runtmp)) { - if(($strtmp = file_get_contents($runtmp,FALSE,NULL,-1,1000000)) !== FALSE) { + if(($strtmp = file_get_contents($runtmp,FALSE,NULL,0,1000000)) !== FALSE) { $postab=strpos($strtmp,"\t"); $conf=globalconf(); $strcolors = decryptData(substr($strtmp,$postab+1,strpos($strtmp,"\n")-$postab-1),$conf['key'],''); diff --git a/src/team/run.php b/src/team/run.php index 10e7c76..32c0d25 100644 --- a/src/team/run.php +++ b/src/team/run.php @@ -291,7 +291,7 @@ $redo = TRUE; if(!isset($_SESSION['forceredo']) || $_SESSION['forceredo']==false) { $actualdelay = 15; if(file_exists($runtmp)) { - if(isset($strtmp) || (($strtmp = file_get_contents($runtmp,FALSE,NULL,-1,1000000)) !== FALSE)) { + if(isset($strtmp) || (($strtmp = file_get_contents($runtmp,FALSE,NULL,0,1000000)) !== FALSE)) { list($d) = sscanf($strtmp,"%*s %d"); if($d > time() - $actualdelay) { $conf=globalconf(); -- cgit v1.2.3