greyhound.php
changeset 64 ee64bb096f56
parent 58 05a69bab5f10
child 70 efabb54a418d
equal deleted inserted replaced
63:af239423ed15 64:ee64bb096f56
    32 
    32 
    33 // get the root
    33 // get the root
    34 define('GREY_ROOT', dirname(__FILE__));
    34 define('GREY_ROOT', dirname(__FILE__));
    35 
    35 
    36 // what kind of terminal do we have?
    36 // what kind of terminal do we have?
    37 $use_colors = ( @in_array(@$_SERVER['TERM'], array('linux', 'xterm', 'vt100')) ) ? true : false;
    37 $use_colors = ( @in_array(@$_SERVER['TERM'], array('linux', 'xterm', 'vt100', 'screen')) ) ? true : false;
    38 require(GREY_ROOT . '/functions.php');
    38 require(GREY_ROOT . '/functions.php');
    39 
    39 
    40 // start up...
    40 // start up...
    41 
    41 
    42 status('Starting Greyhound Web Control v' . GREY_VERSION);
    42 status('Starting Greyhound Web Control v' . GREY_VERSION);