Compare commits

..

1 Commits

Author SHA1 Message Date
mercury e172868f39 fix checkcert notify 2024-09-10 15:48:55 +04:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1101,7 +1101,7 @@ class Bot
{
try {
require __DIR__ . '/config.php';
if (!empty($c['admin']) && (empty($this->time2) || ((time() - $this->time2) > 3600))) {
if (!empty($c['admin']) && date('H') == 12 && (empty($this->time2) || ((time() - $this->time2) > 4600))) {
$this->time2 = time();
$cert = $this->expireCert();
if (!empty($cert) && $cert - 60 * 60 * 24 * 14 < time()) {
+2
View File
@@ -1,3 +1,5 @@
10.09.2024 v1.52
- фикс спамящего уведомления о просрочке сертификата
10.09.2024 v1.51
- фикс ipinfo
08.09.2024 v1.50