|
@@ -196,7 +196,7 @@ if ($errors=='' && $_GET['acctock']!='' && $_GET['host']!='') {
|
|
|
$out.=" suspended by «{$hhost}».<br>\n<br>\n{$acchostck}</div>\n";
|
|
|
echo $out;
|
|
|
}
|
|
|
- if (is_array($rl) && isset($rl['ok']) && $rl['ok'] && @file_put_contents($rlfp,$rl['remaining']."\n".($rl['sleep']+time())."\n")===false)
|
|
|
+ if (isset($rl['ok']) && $rl['ok'] && @file_put_contents($rlfp,$rl['remaining']."\n".($rl['sleep']+time())."\n")===false)
|
|
|
echo "<div class=\"warning\">Warning: could not write to rate limit state file.</div>\n";
|
|
|
}
|
|
|
|
|
@@ -208,6 +208,7 @@ echo "<div id=\"footer\"><a href=\"".SREPO."\">{$usname} ".SVERS."</a></div>
|
|
|
</body>
|
|
|
</html>\n";
|
|
|
|
|
|
+
|
|
|
function preprint($var) {
|
|
|
return '<pre>'.print_r($var,true)."</pre>\n";
|
|
|
}
|