mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 00:51:12 +01:00
Small fix
This commit is contained in:
parent
30e2c14020
commit
f1dccb28ce
@ -282,10 +282,10 @@ final class Magic
|
||||
if (\file_exists(__DIR__.'/../../../.git/refs/heads/stable')) {
|
||||
try {
|
||||
self::$version = @\file_get_contents(__DIR__.'/../../../.git/refs/heads/stable');
|
||||
self::$revision = 'Revision: '.self::$version;
|
||||
} catch (Throwable $e) {
|
||||
}
|
||||
}
|
||||
self::$revision = 'Revision: '.self::$version;
|
||||
self::$initedLight = true;
|
||||
if ($light) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user