Fixed colors on MacOS

This commit is contained in:
Shoghi Cervantes 2013-09-07 10:13:14 +02:00
parent 397b47d719
commit 9b63a0b0bf

View File

@ -26,7 +26,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") === false ? true:false) === true){
if(arg("enable-ansi", strpos(strtoupper(php_uname("s")), "WIN") === 0 ? false:true) === true){
define("ENABLE_ANSI", true);
}else{
define("ENABLE_ANSI", false);