diff options
| author | cassiopc <cassiopc@gmail.com> | 2013-09-11 16:18:23 +0000 |
|---|---|---|
| committer | cassiopc <cassiopc@gmail.com> | 2013-09-11 16:18:23 +0000 |
| commit | 565309d78e335176d9800c61a259b265a60771f2 (patch) | |
| tree | d3ea1acfc1fe195ffaa896c3624c856920d062d9 /src | |
| parent | 1c926dc96e9e9a2c8feaed98bf35c9c8566ea4ee (diff) | |
| download | boca-565309d78e335176d9800c61a259b265a60771f2.tar.gz boca-565309d78e335176d9800c61a259b265a60771f2.zip | |
fixed directory names to run autojudge for the case of multiple input/output files
Diffstat (limited to 'src')
| -rwxr-xr-x | src/private/autojudging.php | 2 |
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]))." ". |