mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Fixed #206
This commit is contained in:
parent
e444f2a9e0
commit
0bea234788
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ require_once(FILE_PATH."/src/functions.php");
|
|||
/***REM_END***/
|
||||
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);
|
||||
}else{
|
||||
define("ENABLE_ANSI", false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue