From 0e69468a5a9e7727573f90956cb496ec6974a2b0 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 27 Dec 2018 21:24:33 +0100 Subject: [PATCH] Implement PHP logging --- src/danog/MadelineProto/Wrappers/Loop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/Wrappers/Loop.php b/src/danog/MadelineProto/Wrappers/Loop.php index b9d8af040..7f8cdfc1e 100644 --- a/src/danog/MadelineProto/Wrappers/Loop.php +++ b/src/danog/MadelineProto/Wrappers/Loop.php @@ -64,7 +64,7 @@ trait Loop if (!file_exists($lockfile)) { touch($lockfile); $lock = fopen('bot.lock', 'r+'); - } else if (isset($GLOBALS['lock'])) ( + } else if (isset($GLOBALS['lock'])) { $try_locking = false; $lock = $GLOBALS['lock']; } else {