mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
ANSI Color codes
This commit is contained in:
parent
d0cff39aa3
commit
bf1d78d1e4
9 changed files with 71 additions and 32 deletions
|
|
@ -27,6 +27,11 @@ the Free Software Foundation, either version 3 of the License, or
|
|||
|
||||
require_once(dirname(__FILE__)."/config.php");
|
||||
require_once("common/functions.php");
|
||||
if(strpos(strtoupper(php_uname("s")), "WIN") === false or arg("enable-ansi", false) === true){
|
||||
define("ENABLE_ANSI", true);
|
||||
}else{
|
||||
define("ENABLE_ANSI", false);
|
||||
}
|
||||
//set_error_handler("error_handler");
|
||||
|
||||
$errors = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue