Make categories translatable and remove pg=1 as canonical parameter

This commit is contained in:
2023-01-25 19:11:28 +01:00
parent 3f3455f29d
commit c6be012ce1
12 changed files with 854 additions and 369 deletions

View File

@ -105,10 +105,8 @@ if(!empty($_REQUEST['addr'])){
}
echo '<p class="green" role="alert">'._('Yes, the service is online!').'</p>';
}else{
if(isset($db)){
$time=time();
$db->prepare('UPDATE ' . PREFIX . 'onions SET lasttest=?, timediff=lasttest-lastup WHERE md5sum=? AND lasttest<?;')->execute([$time, $md5, $time]);
}
$time=time();
$db->prepare('UPDATE ' . PREFIX . 'onions SET lasttest=?, timediff=lasttest-lastup WHERE md5sum=? AND lasttest<?;')->execute([$time, $md5, $time]);
echo '<p class="red" role="alert">'._('No, the service is offline!').'</p>';
}
curl_close($ch);