Avoid getmypid calls on altervista
This commit is contained in:
parent
e7c595c0a2
commit
ed68a88598
@ -74,6 +74,7 @@ class Logger
|
||||
self::$isatty = defined('STDOUT') && function_exists('posix_isatty') && posix_isatty(STDOUT);
|
||||
} catch (\danog\MadelineProto\Exception $e) {
|
||||
}
|
||||
self::$can_getmypid = !(isset($_SERVER['SERVER_ADMIN']) && strpos($_SERVER['SERVER_ADMIN'], 'altervista.org'));
|
||||
self::$inited = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user