mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 08:18:59 +01:00
Recommend uv
This commit is contained in:
parent
bfa9264d9a
commit
27485be888
@ -78,6 +78,7 @@
|
|||||||
"ext-ffi": "Install the primemodule and FFI extensions to speed up MadelineProto (https://prime.madelineproto.xyz)",
|
"ext-ffi": "Install the primemodule and FFI extensions to speed up MadelineProto (https://prime.madelineproto.xyz)",
|
||||||
"ext-pdo": "Install the pdo extension to store session data on MySQL",
|
"ext-pdo": "Install the pdo extension to store session data on MySQL",
|
||||||
"ext-openssl": "Install the openssl extension for faster crypto",
|
"ext-openssl": "Install the openssl extension for faster crypto",
|
||||||
|
"ext-uv": "Install the gmp extension to greatly speed up MadelineProto!",
|
||||||
"ext-gmp": "Install the gmp extension to speed up authorization"
|
"ext-gmp": "Install the gmp extension to speed up authorization"
|
||||||
},
|
},
|
||||||
"authors": [
|
"authors": [
|
||||||
|
@ -1687,6 +1687,9 @@ final class MTProto implements TLCallback, LoggerGetter
|
|||||||
if (!\extension_loaded('gmp')) {
|
if (!\extension_loaded('gmp')) {
|
||||||
$warning .= "<h2 style='color:red;'>".\htmlentities(\sprintf(Lang::$current_lang['extensionRecommended'], 'gmp'))."</h2>";
|
$warning .= "<h2 style='color:red;'>".\htmlentities(\sprintf(Lang::$current_lang['extensionRecommended'], 'gmp'))."</h2>";
|
||||||
}
|
}
|
||||||
|
if (!\extension_loaded('uv')) {
|
||||||
|
$warning .= "<h2 style='color:red;'>".\htmlentities(\sprintf(Lang::$current_lang['extensionRecommended'], 'uv'))."</h2>";
|
||||||
|
}
|
||||||
return $warning;
|
return $warning;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user