clockwerk-www

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 57  →  ?path2? @ 58
/sendiar.php
@@ -42,7 +42,7 @@
foreach($rep->params->param->value->struct->member as $member) {
if($member->name == "success" && $member->value->boolean == "0") {
echo 'Sorry, wrong password.';
exit;
goto last;
}
}
$iar_path = '/var/lib/iar/'.$first.'_'.$last.'/'.$first.'_'.$last.'.iar';
@@ -56,12 +56,16 @@
header('Pragma: public');
header('Content-Length: '.filesize($iar_path));
readfile($iar_path);
exit;
goto last;
}
echo '<p>Sorry, your IAR file is not available yet.</p>';
goto last;
}
echo '<p>Sorry, incorrect CAPTCHA. Please try again.</p>';
 
last;
 
?>
 
<p>
/sendoar.php
@@ -52,7 +52,7 @@
foreach($rep->params->param->value->struct->member as $member) {
if ($member->name == "success" && $member->value->boolean == "0") {
echo 'Sorry, wrong password.';
exit;
goto last;
}
}
try {
@@ -80,8 +80,10 @@
header('Pragma: public');
header('Content-Length: '.filesize($oar_path));
readfile($oar_path);
exit;
goto last;
}
echo '<p>Sorry, the OAR file is not available yet.</p>';
goto last;
}
}
}
@@ -88,6 +90,8 @@
 
echo '<p>Sorry, incorrect CAPTCHA. Please try again.</p>';
 
last;
 
?>
 
<p>