Implement PHP logging
This commit is contained in:
parent
79b0e647f5
commit
0e69468a5a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user