mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 07:58:58 +01:00
Avoid issues
This commit is contained in:
parent
1873d97dda
commit
0fe97e7d28
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user