mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 08:14:39 +01:00
Protect script creator with mutex
This commit is contained in:
parent
2e0d9355be
commit
171968eda1
@ -119,7 +119,7 @@ trait FileServer
|
||||
]);
|
||||
}
|
||||
|
||||
private static ?LocalMutex $scriptMutex = null;
|
||||
private ?LocalMutex $scriptMutex = null;
|
||||
private static array $checkedAutoload = [];
|
||||
private const DOWNLOAD_SCRIPT = '<?php require %s; \danog\MadelineProto\API::downloadServer(__DIR__);';
|
||||
private function getDefaultDownloadScript(): string
|
||||
|
Loading…
Reference in New Issue
Block a user