PHP 5 fixes

This commit is contained in:
Daniil Gentili 2018-02-20 12:51:02 +00:00
parent 322f7dd831
commit cc635bcb27

View File

@ -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');
}