mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 06:51:23 +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')) {
|
if (\file_exists(__DIR__.'/../../../.git/refs/heads/stable')) {
|
||||||
try {
|
try {
|
||||||
self::$version = @\file_get_contents(__DIR__.'/../../../.git/refs/heads/stable');
|
self::$version = @\file_get_contents(__DIR__.'/../../../.git/refs/heads/stable');
|
||||||
self::$revision = 'Revision: '.self::$version;
|
|
||||||
} catch (Throwable $e) {
|
} catch (Throwable $e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
self::$revision = 'Revision: '.self::$version;
|
||||||
self::$initedLight = true;
|
self::$initedLight = true;
|
||||||
if ($light) {
|
if ($light) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user