mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Unnecessary "?:"
This commit is contained in:
parent
4630481d54
commit
4eb6bd14a2
6 changed files with 9 additions and 9 deletions
|
|
@ -7,7 +7,7 @@ require_once(FILE_PATH . "/src/functions.php");
|
|||
/***REM_END***/
|
||||
define("DATA_PATH", realpath(arg("data-path", FILE_PATH)) . "/");
|
||||
|
||||
if(arg("enable-ansi", strpos(strtoupper(php_uname("s")), "WIN") === 0 ? false : true) === true and arg("disable-ansi", false) !== true){
|
||||
if(arg("enable-ansi", !(strpos(strtoupper(php_uname("s")), "WIN") === 0)) === true and arg("disable-ansi", false) !== true){
|
||||
define("ENABLE_ANSI", true);
|
||||
}else{
|
||||
define("ENABLE_ANSI", false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue