FIX INSTALL Call to undefined function getHostName()


function serverOS()
{
    $sys = strtoupper(PHP_OS);

    if(substr($sys,0,3) == "WIN")
    {
        $os = 1;
    }
    elseif($sys == "LINUX")
    {
        $os = 2;
    }
    else
    {
        $os = 3;
    }

    return $os;
}