mirror of
https://github.com/danog/MadelineProtoPhar.git
synced 2024-11-26 22:34:46 +01:00
revert "Release HEAD - Update secret schema"
This reverts commit 7073062692
.
This commit is contained in:
parent
7073062692
commit
c9247e6be9
8
phar.php
8
phar.php
@ -3,11 +3,11 @@
|
||||
namespace danog\MadelineProto;
|
||||
|
||||
if (\defined('MADELINE_PHP')) {
|
||||
throw new \Exception('Please do not include madeline.php twice, use require_once \'madeline.php\';!');
|
||||
throw new \Exception('Please do not include madeline.php twice!');
|
||||
}
|
||||
|
||||
if (!\defined('MADELINE_ALLOW_COMPOSER') && \class_exists(\Composer\Autoload\ClassLoader::class)) {
|
||||
throw new \Exception('Composer autoloader detected: madeline.php is incompatible with Composer, please require \'danog/madelineproto:^7\' using composer.');
|
||||
throw new \Exception('Composer autoloader detected: madeline.php is incompatible with Composer, please require MadelineProto using composer.');
|
||||
}
|
||||
|
||||
\define('MADELINE_PHP', __FILE__);
|
||||
@ -41,10 +41,10 @@ class Installer
|
||||
public function __construct()
|
||||
{
|
||||
if ((PHP_MAJOR_VERSION === 7 && PHP_MINOR_VERSION < 1) || PHP_MAJOR_VERSION < 7) {
|
||||
throw new \Exception('MadelineProto requires at least PHP 7.1 to run, PHP 8.1+ is recommended.');
|
||||
throw new \Exception('MadelineProto requires at least PHP 7.1 to run');
|
||||
}
|
||||
if (PHP_INT_SIZE < 8) {
|
||||
throw new \Exception('A 64-bit build of PHP is required to run MadelineProto, PHP 8.1+ recommended.');
|
||||
throw new \Exception('A 64-bit build of PHP is required to run MadelineProto, PHP 8.0+ recommended.');
|
||||
}
|
||||
$backtrace = \debug_backtrace(0);
|
||||
if (\count($backtrace) === 1) {
|
||||
|
@ -1 +1 @@
|
||||
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-71
|
||||
fcded0a0eb4189883b99a0dedf34112e49e539e3-71
|
@ -1 +1 @@
|
||||
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-72
|
||||
fcded0a0eb4189883b99a0dedf34112e49e539e3-72
|
@ -1 +1 @@
|
||||
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-73
|
||||
fcded0a0eb4189883b99a0dedf34112e49e539e3-73
|
@ -1 +1 @@
|
||||
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-74
|
||||
fcded0a0eb4189883b99a0dedf34112e49e539e3-74
|
@ -1 +1 @@
|
||||
0a37281fb5a672dd4d0ec5f74f56c724ba7d20e0-80
|
||||
fcded0a0eb4189883b99a0dedf34112e49e539e3-80
|
Loading…
Reference in New Issue
Block a user