1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 13:14:40 +01:00

Implement PHP logging

This commit is contained in:
Daniil Gentili 2018-12-27 21:24:33 +01:00
parent 79b0e647f5
commit 0e69468a5a

View File

@ -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 {