1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 07:58:58 +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
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