From fc7990c62d85fdebef4a438a1fbc9d69a3710d55 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Wed, 22 Aug 2012 16:39:03 +0200 Subject: small bug fixes, inclusion of file size limit configurable --- boca-1.5.0/src/judge/team.php | 1 + 1 file changed, 1 insertion(+) (limited to 'boca-1.5.0/src/judge/team.php') diff --git a/boca-1.5.0/src/judge/team.php b/boca-1.5.0/src/judge/team.php index f00adac..7c204f0 100644 --- a/boca-1.5.0/src/judge/team.php +++ b/boca-1.5.0/src/judge/team.php @@ -55,6 +55,7 @@ if (isset($_FILES["sourcefile"]) && isset($_POST["problem"]) && isset($_POST["Su 'lang'=>$lang, 'filename'=>$name, 'filepath'=>$temp); + if($runteam=='team.php') $param['allowneg']=1; DBNewRun ($param); $_SESSION['forceredo']=true; } -- cgit v1.2.3