Change $_SERVER to Input::SERVER()