aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2013-09-11 16:18:23 +0000
committercassiopc <cassiopc@gmail.com>2013-09-11 16:18:23 +0000
commit565309d78e335176d9800c61a259b265a60771f2 (patch)
treed3ea1acfc1fe195ffaa896c3624c856920d062d9
parent1c926dc96e9e9a2c8feaed98bf35c9c8566ea4ee (diff)
downloadboca-565309d78e335176d9800c61a259b265a60771f2.tar.gz
boca-565309d78e335176d9800c61a259b265a60771f2.zip
fixed directory names to run autojudge for the case of multiple input/output files
-rwxr-xr-xsrc/private/autojudging.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/private/autojudging.php b/src/private/autojudging.php
index 3842882..bcf763a 100755
--- a/src/private/autojudging.php
+++ b/src/private/autojudging.php
@@ -380,7 +380,7 @@ if($retval != 0) {
}
$ex = escapeshellcmd($script) ." ".
- escapeshellarg($basename) . " ".
+ escapeshellarg($dir . $ds . $basename) . " ".
escapeshellarg($dir . $ds . "input" . $ds . $file)." ".
escapeshellarg(trim($limits[$basename][$run["extension"]][0]))." ".
escapeshellarg(trim($limits[$basename][$run["extension"]][1]))." ".