PHP 5 fixes
This commit is contained in:
parent
322f7dd831
commit
cc635bcb27
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace phpseclib\Math;
|
||||
|
||||
if (PHP_MAJOR_VERSION < 7 && !(class_exists('Phar') && Phar::running())) {
|
||||
if (PHP_MAJOR_VERSION < 7 && !(class_exists('\Phar') && \Phar::running())) {
|
||||
throw new Exception('MadelineProto requires php 7 to run');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user