From 50d25d9a02391a1e725937a95fcaa92aba0f0c23 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 27 Feb 2018 22:57:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- updates.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/updates.php b/updates.php index 044a548..4aa6c54 100644 --- a/updates.php +++ b/updates.php @@ -52,7 +52,15 @@ while($running) $type = "privato"; } - @include("_comandi.php"); + try { + require "_comandi.php"; + } catch(Exception $e) { + if (isset($chatID)) { + try { + sm($chatID,''.$e.''); + } catch(Exception $e) { } + } + } }