1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 00:14:38 +01:00

Avoid issues
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/tag/deploy unknown status
ci/woodpecker/tag/build Pipeline failed

This commit is contained in:
Daniil Gentili 2022-07-29 12:29:43 +02:00
parent 1873d97dda
commit 0fe97e7d28
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -1,7 +1,7 @@
<?php <?php
if (PHP_OS_FAMILY === 'Windows') { if (PHP_OS_FAMILY === 'Windows') {
echo PHP_EOL.'========='.PHP_EOL.'WARNING: MadelineProto does not support Windows, please use Linux or another UNIX system (WSL on Windows, Mac OS, BSD, etc).'.PHP_EOL.'========='.PHP_EOL.PHP_EOL; die(PHP_EOL.'========='.PHP_EOL.'WARNING: MadelineProto does not support Windows, please use Linux or another UNIX system (WSL on Windows, Mac OS, BSD, etc).'.PHP_EOL.'========='.PHP_EOL.PHP_EOL);
} }
// Polyfill for some PHP 5 functions // Polyfill for some PHP 5 functions