mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 23:51:12 +01:00
BC fix
This commit is contained in:
parent
901422353b
commit
5fc3f54ed0
@ -324,11 +324,6 @@ abstract class Serialization
|
|||||||
$tounserialize = \str_replace('C:25:"phpseclib\\Math\\BigInteger"', 'C:26:"phpseclib3\\Math\\BigInteger"', $tounserialize);
|
$tounserialize = \str_replace('C:25:"phpseclib\\Math\\BigInteger"', 'C:26:"phpseclib3\\Math\\BigInteger"', $tounserialize);
|
||||||
$changed = true;
|
$changed = true;
|
||||||
}
|
}
|
||||||
if (\strpos($tounserialize, 'C:24:"tgseclib\\Math\\BigInteger"') !== false) {
|
|
||||||
Logger::log("SUBBING TGSECLIB!");
|
|
||||||
$tounserialize = \str_replace('C:24:"tgseclib\\Math\\BigInteger"', 'C:26:"phpseclib3\\Math\\BigInteger"', $tounserialize);
|
|
||||||
$changed = true;
|
|
||||||
}
|
|
||||||
Logger::log((string) $e, Logger::ERROR);
|
Logger::log((string) $e, Logger::ERROR);
|
||||||
if (!$changed) {
|
if (!$changed) {
|
||||||
throw $e;
|
throw $e;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user