mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
Fixed #206
This commit is contained in:
parent
e444f2a9e0
commit
0bea234788
@ -31,7 +31,7 @@ require_once(FILE_PATH."/src/functions.php");
|
|||||||
/***REM_END***/
|
/***REM_END***/
|
||||||
define(DATA_PATH, realpath(arg("data-path", FILE_PATH))."/");
|
define(DATA_PATH, realpath(arg("data-path", FILE_PATH))."/");
|
||||||
|
|
||||||
if(strpos(strtoupper(php_uname("s")), "WIN") === false or arg("enable-ansi", false) === true){
|
if(arg("enable-ansi", strpos(strtoupper(php_uname("s")), "WIN") === false ? true:false) === true){
|
||||||
define("ENABLE_ANSI", true);
|
define("ENABLE_ANSI", true);
|
||||||
}else{
|
}else{
|
||||||
define("ENABLE_ANSI", false);
|
define("ENABLE_ANSI", false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user